Merge remote-tracking branch 'upstream/pull/5494'
This commit is contained in:
commit
283e7b975b
6 changed files with 34 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue