X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7dbf8d83369cb73929080c4ba23fdd7dcd0184df..90ac07d071ed8dbfdea6214419e1b5205a529b2f:/test/models/report_test.rb 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