]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/way_tag_test.rb
Update for rubocop 0.54.0
[rails.git] / test / models / way_tag_test.rb
index cde5bd4158d283ddee959c2024133a6fbf01c221..a3699cac4e1d311d45ea48f1cb586bb57f24a122 100644 (file)
@@ -44,7 +44,7 @@ class WayTagTest < 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