Sha256: 8a240b53b48ccce598f61d60ca3a6d47a9b11b8fd294bc52a1dd7afbdd3b545a
Contents?: true
Size: 464 Bytes
Versions: 52
Compression:
Stored size: 464 Bytes
Contents
require File.expand_path('../../fixtures/classes', __FILE__) describe :time_now, :shared => true do #platform_is_not :windows do # it "creates a time based on the current system time" do # unless `which date` == "" # Time.__send__(@method).to_i.should be_close(`date +%s`.to_i, 2) # end # end #end it "creates a subclass instance if called on a subclass" do TimeSpecs::SubTime.now.should be_kind_of(TimeSpecs::SubTime) end end
Version data entries
52 entries across 52 versions & 2 rubygems