diff options
-rw-r--r-- | activerecord/test/date_time_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |