Permalink
Browse files

this fixes a brittle test in fixtures_test.rb which fails when you ar…

…e in a timezone which is ahead of UTC but UTC is in the previous day still.
  • Loading branch information...
1 parent db20780 commit ff057369478b6f5188f9cdcc531b4c2dce240c41 @joshk joshk committed with fxn Jul 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 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 ff05736

Please sign in to comment.