summaryrefslogtreecommitdiff
path: root/spec/policies/project_policy_spec.rb
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-05-15 08:18:22 +0000
committerDouwe Maan <douwe@gitlab.com>2018-05-15 08:18:22 +0000
commit21588f180c394cf189b19693413dce932ff67141 (patch)
tree2328f3fbd6aaa92ec80eb3a778409d282cf72274 /spec/policies/project_policy_spec.rb
parente8442595746fe529305c70a07c1066bec52ccd31 (diff)
downloadgitlab-ce-21588f180c394cf189b19693413dce932ff67141.tar.gz
Enable update_(build|pipeline) for maintainers
Diffstat (limited to 'spec/policies/project_policy_spec.rb')
-rw-r--r--spec/policies/project_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/project_policy_spec.rb b/spec/policies/project_policy_spec.rb
index 8b9c4ac0b4b..6609f5f7afd 100644
--- a/spec/policies/project_policy_spec.rb
+++ b/spec/policies/project_policy_spec.rb
@@ -404,7 +404,7 @@ describe ProjectPolicy do
)
end
let(:maintainer_abilities) do
- %w(create_build update_build create_pipeline update_pipeline)
+ %w(create_build create_pipeline)
end
subject { described_class.new(user, project) }