X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..6142980d07db9fb6c96c91adb143d04bb26911b2:/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