Enforce restrictions on issue visibility properly
This commit is contained in:
parent
75d1893343
commit
06122fc090
3 changed files with 131 additions and 23 deletions
|
@ -72,7 +72,7 @@ class IssuesTest < ApplicationSystemTestCase
|
|||
end
|
||||
|
||||
def test_commenting
|
||||
issue = create(:issue)
|
||||
issue = create(:issue, :assigned_role => "moderator")
|
||||
sign_in_as(create(:moderator_user))
|
||||
|
||||
visit issue_path(issue)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue