X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7dbf8d83369cb73929080c4ba23fdd7dcd0184df..7f138fb014e201e9e6b63ababf57d0f7c53bd86c:/test/models/report_test.rb?ds=sidebyside diff --git a/test/models/report_test.rb b/test/models/report_test.rb index 810035c9d..b65753b82 100644 --- a/test/models/report_test.rb +++ b/test/models/report_test.rb @@ -6,7 +6,7 @@ class ReportTest < ActiveSupport::TestCase assert report.valid? report.issue = nil - assert !report.valid? + assert_not report.valid? end def test_user_required @@ -14,7 +14,7 @@ class ReportTest < ActiveSupport::TestCase assert report.valid? report.user = nil - assert !report.valid? + assert_not report.valid? end def test_details_required @@ -22,7 +22,7 @@ class ReportTest < ActiveSupport::TestCase assert report.valid? report.details = "" - assert !report.valid? + assert_not report.valid? end def test_category_required @@ -30,6 +30,6 @@ class ReportTest < ActiveSupport::TestCase assert report.valid? report.category = "" - assert !report.valid? + assert_not report.valid? end end