]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/changeset_comment_test.rb
Merge remote-tracking branch 'upstream/pull/3225'
[rails.git] / test / models / changeset_comment_test.rb
index 58fdb9e75d6557a15652972396ec09eadba2f0b2..b620dc8e7e805f5f822d8921c17d870a93f42384 100644 (file)
@@ -50,7 +50,7 @@ class ChangesetCommentTest < ActiveSupport::TestCase
     bad.each do |body|
       changeset_comment = create(:changeset_comment)
       changeset_comment.body = body
-      assert !changeset_comment.valid?, "#{body} is valid when it shouldn't be"
+      assert_not changeset_comment.valid?, "#{body} is valid when it shouldn't be"
     end
   end
 end