X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/29f12c454799ed62745803f2d8423d9c59ed1a93..91fc65a2e3ad47414344a6d5dc03cb5fb2a08ce1:/test/system/issues_test.rb diff --git a/test/system/issues_test.rb b/test/system/issues_test.rb index 3cecf58d9..9aee867a9 100644 --- a/test/system/issues_test.rb +++ b/test/system/issues_test.rb @@ -33,7 +33,7 @@ class IssuesTest < ApplicationSystemTestCase def test_view_issues_with_no_reported_user sign_in_as(create(:moderator_user)) anonymous_note = create(:note_with_comments) - issue = create(:issue, :reportable => anonymous_note) + issue = create(:issue, :reportable => anonymous_note, :assigned_role => "moderator") visit issues_path assert page.has_content?(reportable_title(anonymous_note))