diff options
author | Xavier Noria <fxn@hashref.com> | 2014-02-18 09:52:42 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2014-02-18 09:52:42 +0100 |
commit | 24fa399c99316d8765c7ec374050b609e362b1c6 (patch) | |
tree | 043cf40b23c796b23ceb0c3d62e72d46015cf187 | |
parent | 65a7c571050da47ab997a5a07fb9f1e2302bf348 (diff) | |
download | rails-24fa399c99316d8765c7ec374050b609e362b1c6.tar.gz rails-24fa399c99316d8765c7ec374050b609e362b1c6.tar.bz2 rails-24fa399c99316d8765c7ec374050b609e362b1c6.zip |
adds a missing travel back
-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 |