spec/timezone_spec.rb in trackoid-0.3.4 vs spec/timezone_spec.rb in trackoid-0.3.5
- old
+ new
@@ -102,10 +102,10 @@
local = Time.local(2011, 6, 1, 0, 0).in_time_zone
local.should be_dst
local.utc_offset.should == -25200
Time.zone = ActiveSupport::TimeZone["Europe/Madrid"]
- local = Time.local(2011, 6, 1, 0, 0)
+ local = Time.local(2011, 6, 1, 0, 0).in_time_zone
local.should be_dst
local.utc_offset.should == 7200
end
it "should correctly handle UTC offseted dates" do