BigW Consortium Gitlab

Commit 37694858 by Grzegorz Bizon

Fix chat commands specs related to protected actions

parent 9a6b4c80
......@@ -58,9 +58,12 @@ describe Gitlab::ChatCommands::Command, service: true do
end
end
context 'and user does have deployment permission' do
context 'and user has deployment permission' do
before do
build.project.add_master(user)
build.project.add_developer(user)
create(:protected_branch, :developers_can_merge,
name: build.ref, project: project)
end
it 'returns action' do
......
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