]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/changeset_tag_test.rb
Update for rubocop 0.54.0
[rails.git] / test / models / changeset_tag_test.rb
index 030614a1eeebe3e4e63e4e004b2524f5e6666811..2788d6f2d01c3884d8d382c991207d42ff5341c4 100644 (file)
@@ -62,7 +62,7 @@ class ChangesetTagTest < 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