X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/396f2e28dd27d514f7882c3918103b12764038de..6142980d07db9fb6c96c91adb143d04bb26911b2:/test/models/note_test.rb diff --git a/test/models/note_test.rb b/test/models/note_test.rb index 77ed7f1b2..2010fe202 100644 --- a/test/models/note_test.rb +++ b/test/models/note_test.rb @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- require "test_helper" class NoteTest < ActiveSupport::TestCase @@ -15,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