From 00326bb0b4682e92759b577f33a842f6be691718 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 22 Sep 2007 17:57:10 +0000 Subject: [PATCH] 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 --- activerecord/test/date_time_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activerecord/test/date_time_test.rb b/activerecord/test/date_time_test.rb index 2624fa0a78..8a5ed8c40b 100644 --- a/activerecord/test/date_time_test.rb +++ b/activerecord/test/date_time_test.rb @@ -10,7 +10,7 @@ class DateTimeTest < Test::Unit::TestCase 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