]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_user_test.rb
Merge branch 'master' into next
[rails.git] / test / system / report_user_test.rb
index 0331e3ad73a936d50c9dbf5690b0a4b81a20abea..8bb7d9dd7ed397284faa97ee1952ebecfc0f6c68 100644 (file)
@@ -6,7 +6,7 @@ class ReportUserTest < ApplicationSystemTestCase
     visit browse_note_path(note)
     assert page.has_content?(note.comments.first.body)
 
     visit browse_note_path(note)
     assert page.has_content?(note.comments.first.body)
 
-    assert !page.has_content?(I18n.t("user.view.report"))
+    assert_not page.has_content?(I18n.t("user.view.report"))
   end
 
   def test_can_report_user
   end
 
   def test_can_report_user