Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix failure in test_preserves_existing_fixture_data from test/cases/f…

…ixtures_test.rb when UTC and local time occur on different dates.
  • Loading branch information...
commit e4479b2f1bc54edf155408d51dd3236955150ce1 1 parent 1712d90
@jonleighton jonleighton authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/fixtures/pirates.yml
View
4 activerecord/test/fixtures/pirates.yml
@@ -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) %>

0 comments on commit e4479b2

Please sign in to comment.
Something went wrong with that request. Please try again.