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