]> 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 dc6c511753af073555fd1a2458363508f652ce30..8bb7d9dd7ed397284faa97ee1952ebecfc0f6c68 100644 (file)
@@ -6,7 +6,7 @@ class ReportUserTest < ApplicationSystemTestCase
     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
@@ -16,9 +16,9 @@ class ReportUserTest < ApplicationSystemTestCase
 
     click_on I18n.t("user.view.report")
     assert page.has_content? "Report"
-    assert page.has_content? I18n.t("issues.new.disclaimer.intro")
+    assert page.has_content? I18n.t("reports.new.disclaimer.intro")
 
-    choose I18n.t("reports.categories.user.vandal")
+    choose I18n.t("reports.new.categories.user.vandal")
     fill_in "report_details", :with => "This user is a vandal"
     click_on "Create Report"