aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures/pirates.yml
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-07-12 00:14:26 +0100
committerJon Leighton <j@jonathanleighton.com>2011-07-12 00:14:45 +0100
commite4479b2f1bc54edf155408d51dd3236955150ce1 (patch)
treedad0f52f6778aabbf2ed1a2596f0bb29a7274e3e /activerecord/test/fixtures/pirates.yml
parent1712d90050bd4b32a9ee93548b5eef05a69491f7 (diff)
downloadrails-e4479b2f1bc54edf155408d51dd3236955150ce1.tar.gz
rails-e4479b2f1bc54edf155408d51dd3236955150ce1.tar.bz2
rails-e4479b2f1bc54edf155408d51dd3236955150ce1.zip
Fix failure in test_preserves_existing_fixture_data from test/cases/fixtures_test.rb when UTC and local time occur on different dates.
Diffstat (limited to 'activerecord/test/fixtures/pirates.yml')
-rw-r--r--activerecord/test/fixtures/pirates.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/pirates.yml b/activerecord/test/fixtures/pirates.yml
index abb91101da..a47d894249 100644
--- a/activerecord/test/fixtures/pirates.yml
+++ b/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) %>