1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

adds a missing travel back

This commit is contained in:
Xavier Noria 2014-02-18 09:52:42 +01:00
parent 65a7c57105
commit 24fa399c99

View file

@ -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