aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/time_zone_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-12-10 10:05:43 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-12-10 10:05:43 +0000
commitbcbcc0260b4f75e9da7f009dfc7e3e0233158274 (patch)
tree28056969a6eacb34711e78dc20db4d1d54c4810b /activesupport/test/time_zone_test.rb
parentd0b5f640f2f4ad4f6c42d33300129601210257de (diff)
downloadrails-bcbcc0260b4f75e9da7f009dfc7e3e0233158274.tar.gz
rails-bcbcc0260b4f75e9da7f009dfc7e3e0233158274.tar.bz2
rails-bcbcc0260b4f75e9da7f009dfc7e3e0233158274.zip
Ruby 1.9 compat: TimeZone avoids localtime conversion. References #1689 [Chu Yeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/test/time_zone_test.rb')
-rw-r--r--activesupport/test/time_zone_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/time_zone_test.rb b/activesupport/test/time_zone_test.rb
index 080ccef8ac..bf41f14741 100644
--- a/activesupport/test/time_zone_test.rb
+++ b/activesupport/test/time_zone_test.rb
@@ -34,7 +34,7 @@ class TimeZoneTest < Test::Unit::TestCase
end
def test_adjust_negative
- zone = TimeZone.create( "Test", -4200 )
+ zone = TimeZone.create( "Test", -4200 ) # 4200s == 70 mins
assert_equal Time.utc(2004,7,24,23,55,0), zone.adjust(Time.utc(2004,7,25,1,5,0))
end