aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2014-11-05 14:27:07 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2014-11-05 14:27:07 +0530
commite130a0e7b476553c538075239554247e4196dd05 (patch)
tree5a99a2fb97a23e9d829389cb4e2d4e6935b62dec /activesupport/test/core_ext
parentd027e2759d1aa5235d562bc1063d3f957473c763 (diff)
downloadrails-e130a0e7b476553c538075239554247e4196dd05.tar.gz
rails-e130a0e7b476553c538075239554247e4196dd05.tar.bz2
rails-e130a0e7b476553c538075239554247e4196dd05.zip
Fix broken string_ext_test due to change in timezone
- Russian time was changed to UTC+3 from UTC+4 recently. This broke the string_to_ext test.
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r--activesupport/test/core_ext/string_ext_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb
index 35095f2b2d..b97aa56aef 100644
--- a/activesupport/test/core_ext/string_ext_test.rb
+++ b/activesupport/test/core_ext/string_ext_test.rb
@@ -418,7 +418,7 @@ class StringConversionsTest < ActiveSupport::TestCase
now = Time.now
assert_equal Time.local(now.year, now.month, now.day, 23, 50), "23:50".to_time
assert_equal Time.utc(now.year, now.month, now.day, 23, 50), "23:50".to_time(:utc)
- assert_equal Time.local(now.year, now.month, now.day, 18, 50), "13:50 -0100".to_time
+ assert_equal Time.local(now.year, now.month, now.day, 17, 50), "13:50 -0100".to_time
assert_equal Time.utc(now.year, now.month, now.day, 23, 50), "22:50 -0100".to_time(:utc)
end
end