Merge remote-tracking branch 'upstream/pull/5494'

This commit is contained in:
Tom Hughes 2025-01-16 18:35:36 +00:00
commit 283e7b975b
6 changed files with 34 additions and 6 deletions

View file

@ -4,7 +4,7 @@ class ReportNoteTest < ApplicationSystemTestCase
def test_no_link_when_not_logged_in
note = create(:note_with_comments)
visit note_path(note)
assert_content note.comments.first.body
assert_content note.description
assert_no_content I18n.t("notes.show.report")
end

View file

@ -4,7 +4,7 @@ class ReportUserTest < ApplicationSystemTestCase
def test_no_link_when_not_logged_in
note = create(:note_with_comments)
visit note_path(note)
assert_content note.comments.first.body
assert_content note.description
assert_no_content I18n.t("users.show.report")
end