Fixed problem with Time vs. DateTime classes in fixtures. Weirdly only affected mysql...
authorMatt Amos <zerebubuth@gmail.com>
Thu, 14 May 2009 11:52:15 +0000 (11:52 +0000)
committerMatt Amos <zerebubuth@gmail.com>
Thu, 14 May 2009 11:52:15 +0000 (11:52 +0000)
test/fixtures/changesets.yml

index 9f6b201a53d19e7ab80b447d963ba51ce2187edf..b6b7ac23661690e788d8a08ad11eb987ce7e0b0e 100644 (file)
@@ -17,7 +17,7 @@ normal_user_first_change:
 public_user_first_change:
   id: 2
   user_id: 2
-  created_at: <%= Time.now.getutc %>
+  created_at: <%= DateTime.now.utc %>
   closed_at: <%= DateTime.now + Rational(1,24) %>
   num_changes: 0