]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/node_tag_test.rb
Update for rubocop 0.54.0
[rails.git] / test / models / node_tag_test.rb
index 29eda2bffbd61a6217cd6854a128dca147d90573..57a5f0d43457d5db7bb7a3ab30e18a27f4a7e9d1 100644 (file)
@@ -44,7 +44,7 @@ class NodeTagTest < 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