X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cb3c4ec09b70e7eae62494af795187b32128fd0c..e30813bbb1fce58f29285140bfea2d52d1dc555f:/test/models/old_node_tag_test.rb diff --git a/test/models/old_node_tag_test.rb b/test/models/old_node_tag_test.rb index 33871657e..f432d04b8 100644 --- a/test/models/old_node_tag_test.rb +++ b/test/models/old_node_tag_test.rb @@ -27,13 +27,13 @@ class OldNodeTagTest < ActiveSupport::TestCase def test_length_value_invalid tag = create(:old_node_tag) tag.v = "v" * 256 - assert !tag.valid?, "Value should be too long" + assert_not tag.valid?, "Value should be too long" assert tag.errors[:v].any? end def test_empty_tag_invalid tag = OldNodeTag.new - assert !tag.valid?, "Empty tag should be invalid" + assert_not tag.valid?, "Empty tag should be invalid" assert tag.errors[:old_node].any? end