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

Version Path
rhodes-7.6.0 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-7.5.1 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-7.4.1 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-7.1.17 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-6.2.0 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-6.0.11 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.18 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.17 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.15 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.0.22 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.2 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.0.7 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.0.3 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-5.5.0 spec/framework_spec/app/spec/core/time/shared/now.rb
tauplatform-1.0.3 spec/framework_spec/app/spec/core/time/shared/now.rb
tauplatform-1.0.2 spec/framework_spec/app/spec/core/time/shared/now.rb
tauplatform-1.0.1 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-3.5.1.12 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-3.3.5 spec/framework_spec/app/spec/core/time/shared/now.rb
rhodes-3.4.2 spec/framework_spec/app/spec/core/time/shared/now.rb