diff options
author | gbuesing <gbuesing@gmail.com> | 2008-11-13 09:04:06 -0600 |
---|---|---|
committer | gbuesing <gbuesing@gmail.com> | 2008-11-13 09:04:06 -0600 |
commit | 020a4113048be7166346cba6c59bbbca819de911 (patch) | |
tree | 7c7da16868e6cd2e5e10fac34066c32d09a33ae2 /activesupport/test | |
parent | 02df503d3b4db7a3e7fabe1403c388a059f905b8 (diff) | |
download | rails-020a4113048be7166346cba6c59bbbca819de911.tar.gz rails-020a4113048be7166346cba6c59bbbca819de911.tar.bz2 rails-020a4113048be7166346cba6c59bbbca819de911.zip |
TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone offsets to more current date
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/time_zone_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/time_zone_test.rb b/activesupport/test/time_zone_test.rb index 515ffcf0bf..d999b9f2a8 100644 --- a/activesupport/test/time_zone_test.rb +++ b/activesupport/test/time_zone_test.rb @@ -51,7 +51,7 @@ class TimeZoneTest < Test::Unit::TestCase define_method("test_utc_offset_for_#{name}") do silence_warnings do # silence warnings raised by tzinfo gem - period = zone.tzinfo.period_for_utc(Time.utc(2006,1,1,0,0,0)) + period = zone.tzinfo.period_for_utc(Time.utc(2009,1,1,0,0,0)) assert_equal period.utc_offset, zone.utc_offset end end |