]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/old_relation_tag_test.rb
Assign vandalism reports for users to moderators
[rails.git] / test / models / old_relation_tag_test.rb
index 58c70cc9c5fcba90aefe8b3316843a13c45452a0..d9dae24732174e955e1f20d1760667ebbe40bb80 100644 (file)
@@ -45,7 +45,7 @@ class OldRelationTagTest < ActiveSupport::TestCase
     tag.k = existing.k
     tag.v = existing.v
     assert tag.new_record?
-    assert !tag.valid?
+    assert_not tag.valid?
     assert_raise(ActiveRecord::RecordInvalid) { tag.save! }
     assert tag.new_record?
   end