Sha256: c5208da9c722e59ceceeb5f7c82535faea65ec46fb0f915227bbf6a4d8770a8b

Contents?: true

Size: 437 Bytes

Versions: 20

Compression:

Stored size: 437 Bytes

Contents

require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
require 'chronic'

describe Rackamole::Stash::Perf do
  before( :all ) do
    @now = Chronic.parse( "11/27/2009" )
  end
  
  it "should record perf information correctly" do
    perf = Rackamole::Stash::Perf.new( "/", 10.0, @now )
    perf.send( :path ).should      == "/"
    perf.send( :elapsed ).should   == 10.0
    perf.send( :timestamp ).should == @now
  end
end
  

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
rackamole-0.3.7 spec/rackamole/stash/perf_spec.rb
rackamole-0.3.6 spec/rackamole/stash/perf_spec.rb
rackamole-0.3.5 spec/rackamole/stash/perf_spec.rb
rackamole-0.3.4 spec/rackamole/stash/perf_spec.rb
rackamole-0.3.3 spec/rackamole/stash/perf_spec.rb
rackamole-0.3.2 spec/rackamole/stash/perf_spec.rb
rackamole-0.3.1 spec/rackamole/stash/perf_spec.rb
rackamole-0.3.0 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.9 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.8 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.7 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.6 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.5 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.4 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.3 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.2 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.1 spec/rackamole/stash/perf_spec.rb
rackamole-0.2.0 spec/rackamole/stash/perf_spec.rb
rackamole-0.1.1 spec/rackamole/stash/perf_spec.rb
rackamole-0.1.0 spec/rackamole/stash/perf_spec.rb