X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a39c645602f9d27b7927500c93890f4d7d79620e..a7ba87340d91a6eeef096783b04a9b0a963bfa99:/test/validators/characters_validator_test.rb diff --git a/test/validators/characters_validator_test.rb b/test/validators/characters_validator_test.rb index e1409a5dc..341ca4d77 100644 --- a/test/validators/characters_validator_test.rb +++ b/test/validators/characters_validator_test.rb @@ -23,7 +23,7 @@ class CharactersValidatorTest < ActiveSupport::TestCase valid.each do |v| c.chars = v - assert c.valid?, "'#{v}' should be valid" + assert_predicate c, :valid?, "'#{v}' should be valid" end end @@ -48,7 +48,7 @@ class CharactersValidatorTest < ActiveSupport::TestCase valid.each do |v| c.chars = v - assert c.valid?, "'#{v}' should be valid" + assert_predicate c, :valid?, "'#{v}' should be valid" end end