X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/46c183ffeb68a45e6e0793c813f2756109f40642..26cbdcf71a68d5515c91bf9cb4ec958ce90c2647:/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