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