Sha256: 07959628fc945c4701c39168dfea03e3a84242c86f98431369a9f24a4b4d10d8

Contents?: true

Size: 332 Bytes

Versions: 135

Compression:

Stored size: 332 Bytes

Contents

describe :time_getgm, :shared => true do
  it "returns a new time which is the utc representation of time" do
    # Testing with America/Regina here because it doesn't have DST.
    with_timezone("CST", -6) do
      t = Time.local(2007, 1, 9, 6, 0, 0)
      t.send(@method).should == Time.gm(2007, 1, 9, 12, 0, 0)
    end
  end
end

Version data entries

135 entries across 135 versions & 2 rubygems

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