]> git.openstreetmap.org Git - rails.git/blobdiff - test/system/report_user_test.rb
Show blocked api response when reopening notes
[rails.git] / test / system / report_user_test.rb
index 879558ab5fe05bb777f495d5c7c1afe68f424db9..7a9e800c8c0da99ebf7351d6a863d9c8cec8ba7a 100644 (file)
@@ -3,7 +3,7 @@ require "application_system_test_case"
 class ReportUserTest < ApplicationSystemTestCase
   def test_no_link_when_not_logged_in
     note = create(:note_with_comments)
-    visit browse_note_path(note)
+    visit note_path(note)
     assert_content note.comments.first.body
 
     assert_no_content I18n.t("users.show.report")