Skip to content
Browse files

Merge pull request #2160 from joshk/patch-5

Changed the year of a date used in a test which fails when using 1.8.7
  • Loading branch information...
2 parents 37418e5 + 322393f commit b8a4e9fc6d4b7020d1fdeaa39e935330c5dadccd @jeremy jeremy committed Jul 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/core_ext/string_ext_test.rb
View
2 activesupport/test/core_ext/string_ext_test.rb
@@ -158,7 +158,7 @@ def test_string_to_time
assert_equal Time.local(2005, 2, 27, 23, 50, 19, 275038), "2005-02-27T23:50:19.275038".to_time(:local)
assert_equal DateTime.civil(2039, 2, 27, 23, 50), "2039-02-27 23:50".to_time
assert_equal Time.local_time(2039, 2, 27, 23, 50), "2039-02-27 23:50".to_time(:local)
- assert_equal Time.utc(2039, 2, 27, 23, 50), "2039-02-27 22:50 -0100".to_time
+ assert_equal Time.utc(2011, 2, 27, 23, 50), "2011-02-27 22:50 -0100".to_time
assert_nil "".to_time
end

0 comments on commit b8a4e9f

Please sign in to comment.
Something went wrong with that request. Please try again.