diff options
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/dirty_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/dirty_test.rb b/activerecord/test/cases/dirty_test.rb index 6fd9a9d11d..d3cbd839f6 100644 --- a/activerecord/test/cases/dirty_test.rb +++ b/activerecord/test/cases/dirty_test.rb @@ -209,10 +209,10 @@ class DirtyTest < ActiveRecord::TestCase target.table_name = 'topics' topic = target.create - assert_equal nil, topic.written_on + assert_nil topic.written_on topic.written_on = "" - assert_equal nil, topic.written_on + assert_nil topic.written_on assert !topic.written_on_changed? end end |