BigW Consortium Gitlab

Commit 9a6b4c80 by Grzegorz Bizon

Fix builds controller specs related to protected actions

parent c9b653b4
......@@ -234,7 +234,11 @@ describe Projects::BuildsController do
describe 'POST play' do
before do
project.add_master(user)
project.add_developer(user)
create(:protected_branch, :developers_can_merge,
name: 'master', project: project)
sign_in(user)
post_play
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment