mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
this fixes a brittle test in fixtures_test.rb which fails when you are in a timezone which is ahead of UTC but UTC is in the previous day still.
This commit is contained in:
parent
0e6f19cc9b
commit
f92cefa95f
1 changed files with 2 additions and 2 deletions
4
activerecord/test/fixtures/pirates.yml
vendored
4
activerecord/test/fixtures/pirates.yml
vendored
|
@ -5,5 +5,5 @@ blackbeard:
|
|||
redbeard:
|
||||
catchphrase: "Avast!"
|
||||
parrot: louis
|
||||
created_on: <%= 2.weeks.ago.to_s(:db) %>
|
||||
updated_on: <%= 2.weeks.ago.to_s(:db) %>
|
||||
created_on: <%= 2.weeks.ago.utc.to_s(:db) %>
|
||||
updated_on: <%= 2.weeks.ago.utc.to_s(:db) %>
|
||||
|
|
Loading…
Reference in a new issue