X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b6b9d543acd0dfc39f69242e82c60d5a25021f79..e89742928ddccbe127955f94be4be61e13f1faed:/test/models/note_test.rb diff --git a/test/models/note_test.rb b/test/models/note_test.rb index 369ff1083..2010fe202 100644 --- a/test/models/note_test.rb +++ b/test/models/note_test.rb @@ -14,7 +14,7 @@ class NoteTest < ActiveSupport::TestCase bad.each do |status| note = create(:note) note.status = status - assert !note.valid?, "#{status} is valid when it shouldn't be" + assert_not note.valid?, "#{status} is valid when it shouldn't be" end end