From 24fa399c99316d8765c7ec374050b609e362b1c6 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Tue, 18 Feb 2014 09:52:42 +0100 Subject: [PATCH] adds a missing travel back --- activesupport/test/time_zone_test.rb | 8 ++++---- 1 file 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