Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit f92cefa95f44bcd550c402a7f5ba914f3bd783cc 1 parent 0e6f19c
Josh Kalderimis joshk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/test/fixtures/pirates.yml
4 activerecord/test/fixtures/pirates.yml
View
@@ -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) %>

4 comments on commit f92cefa

Damien Mathieu
Collaborator

FTR this had already been committed and reverted by @jonleighton
ac97e25

Xavier Noria
Owner

OK, problem happened in the CI server yesterday.

Damien Mathieu
Collaborator

Told ya ! d8736b2

Josh Kalderimis

@dmathieu I know, I was talking to Aaron about it, but thanks for the help in solving this, wait, thats right, you didn't :P

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