Permalink
Browse files

Make date tests pass on 64-bit (closes #9121) [mutru]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent f18c24c commit 00326bb0b4682e92759b577f33a842f6be691718 @dhh dhh committed Sep 22, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/date_time_test.rb
@@ -10,7 +10,7 @@ def test_saves_both_date_and_time
task.starting = now
task.save!
- assert_equal now, Task.find(task.id).starting
+ assert_equal now, Task.find(task.id).starting.to_datetime
end
def test_assign_empty_date_time

0 comments on commit 00326bb

Please sign in to comment.