fix bad spec

This commit is contained in:
Adam Meehan 2010-11-06 19:08:25 +11:00
parent 6265b2d804
commit c3a591a5d8

View File

@ -27,8 +27,8 @@ describe ValidatesTimeliness::Parser do
if RAILS_VER >= '2.1' if RAILS_VER >= '2.1'
it "should convert time string into current timezone" do it "should convert time string into current timezone" do
Time.zone = 'Melbourne' Time.zone = 'Melbourne'
time = parse("2000-01-01 12:13:14", :datetime) time = parse("2000-06-01 12:13:14", :datetime)
Time.zone.utc_offset.should == 10.hours time.utc_offset.should == 10.hours
end end
end end