SECURITY: Any group can be invited into a PM.

This commit is contained in:
Guo Xiang Tan
2017-12-14 10:53:21 +08:00
parent 14cfce2827
commit f2565f6c7e
8 changed files with 97 additions and 9 deletions

View File

@ -29,5 +29,6 @@ module IntegrationHelpers
Fabricate(:email_token, confirmed: true, user: user)
post "/session.json", params: { login: user.username, password: password }
expect(response).to be_success
user
end
end