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