X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/420a7289a0b08eee091f6650c2e83166df3fbe69..be541bcab21487560d4974215bd35be74012c492:/test/models/changeset_comment_test.rb?ds=inline diff --git a/test/models/changeset_comment_test.rb b/test/models/changeset_comment_test.rb index b620dc8e7..2139c8d39 100644 --- a/test/models/changeset_comment_test.rb +++ b/test/models/changeset_comment_test.rb @@ -44,7 +44,7 @@ class ChangesetCommentTest < ActiveSupport::TestCase ok.each do |body| changeset_comment = create(:changeset_comment) changeset_comment.body = body - assert changeset_comment.valid?, "#{body} is invalid, when it should be" + assert_predicate changeset_comment, :valid?, "#{body} is invalid, when it should be" end bad.each do |body|