X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..11e0444f363a08a08b730a169f56617cd9885315:/test/system/report_user_test.rb diff --git a/test/system/report_user_test.rb b/test/system/report_user_test.rb index 879558ab5..6ef488e78 100644 --- a/test/system/report_user_test.rb +++ b/test/system/report_user_test.rb @@ -3,8 +3,8 @@ 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) - assert_content note.comments.first.body + visit note_path(note) + assert_content note.description assert_no_content I18n.t("users.show.report") end