Skip to content
This repository
Browse code

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
Jon Leighton authored July 12, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  activerecord/test/fixtures/pirates.yml
4  activerecord/test/fixtures/pirates.yml
@@ -5,5 +5,5 @@ blackbeard:
5 5
 redbeard:
6 6
   catchphrase: "Avast!"
7 7
   parrot: louis
8  
-  created_on: <%= 2.weeks.ago.to_s(:db) %>
9  
-  updated_on: <%= 2.weeks.ago.to_s(:db) %>
  8
+  created_on: <%= 2.weeks.ago.utc.to_s(:db) %>
  9
+  updated_on: <%= 2.weeks.ago.utc.to_s(:db) %>

0 notes on commit e4479b2

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