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:
parent
65a7c57105
commit
24fa399c99
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue