diff options
Diffstat (limited to 'activesupport/test/time_zone_test.rb')
-rw-r--r-- | activesupport/test/time_zone_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/test/time_zone_test.rb b/activesupport/test/time_zone_test.rb index 48bcfa6929..9fa2f45de5 100644 --- a/activesupport/test/time_zone_test.rb +++ b/activesupport/test/time_zone_test.rb @@ -130,10 +130,10 @@ class TimeZoneTest < ActiveSupport::TestCase date = Date.new(2014, 2, 18) time = date.midnight - travel_to date - - assert_equal date, Date.current - assert_equal time, Time.current + travel_to date do + assert_equal date, Date.current + assert_equal time, Time.current + end end end end |