]> git.openstreetmap.org Git - rails.git/blobdiff - test/models/report_test.rb
Fix new rubocop warnings
[rails.git] / test / models / report_test.rb
index 810035c9da5d9a3fbdd97d986ad189fb377c37b9..b65753b822d4e1a075d5337d37d951457990a648 100644 (file)
@@ -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