Sha256: 654d6b445092fa6a84bcac7ec43c83ec132ef3056875a46c726fd26b104d2aef

Contents?: true

Size: 388 Bytes

Versions: 38

Compression:

Stored size: 388 Bytes

Contents

require 'spec_helper'

describe Results::Live do
  
  it "is the right subclass" do
    Results::Live.should < Results::Base
  end
  
  it "logs correctly" do
    Time.stub! :now => Time.parse('2010-10-25 01:25:07')
    
    Results::Live.new.to_log('some query').should == '.|2010-10-25 01:25:07|0.000000|some query                                        |       0|   0| 0|'
  end
  
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
picky-1.4.1 spec/lib/results/live_spec.rb
picky-1.4.0 spec/lib/results/live_spec.rb
picky-1.3.4 spec/lib/results/live_spec.rb
picky-1.3.3 spec/lib/results/live_spec.rb
picky-1.3.2 spec/lib/results/live_spec.rb
picky-1.3.1 spec/lib/results/live_spec.rb
picky-1.3.0 spec/lib/results/live_spec.rb
picky-1.2.4 spec/lib/results/live_spec.rb
picky-1.2.3 spec/lib/results/live_spec.rb
picky-1.2.2 spec/lib/results/live_spec.rb
picky-1.2.1 spec/lib/results/live_spec.rb
picky-1.2.0 spec/lib/results/live_spec.rb
picky-1.1.7 spec/lib/results/live_spec.rb
picky-1.1.6 spec/lib/results/live_spec.rb
picky-1.1.5 spec/lib/results/live_spec.rb
picky-1.1.4 spec/lib/results/live_spec.rb
picky-1.1.3 spec/lib/results/live_spec.rb
picky-1.1.2 spec/lib/results/live_spec.rb
picky-1.1.1 spec/lib/results/live_spec.rb
picky-1.1.0 spec/lib/results/live_spec.rb