summaryrefslogtreecommitdiff
path: root/spec/policies
diff options
context:
space:
mode:
authorManoj MJ <mmj@gitlab.com>2019-06-19 07:08:56 +0000
committerJames Lopez <james@gitlab.com>2019-06-19 07:08:56 +0000
commit53b17f030161ba2afade8fe3d41b849a7fa41a89 (patch)
tree9f911580f4bc5d78cb66ffe7e16d1f77f7d23f64 /spec/policies
parent69e1bd389f3cb04d451900f981be646462ffd039 (diff)
downloadgitlab-ce-53b17f030161ba2afade8fe3d41b849a7fa41a89.tar.gz
Add documentation and tests
This commit adds - feature specs - to test the ability of a user with "developer" permission to delete tags in repositories. - documentation
Diffstat (limited to 'spec/policies')
-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 4b723a52b51..fd82150c12a 100644
--- a/spec/policies/project_policy_spec.rb
+++ b/spec/policies/project_policy_spec.rb
@@ -36,7 +36,7 @@ describe ProjectPolicy do
let(:developer_permissions) do
%i[
- admin_milestone admin_merge_request update_merge_request create_commit_status
+ admin_tag admin_milestone admin_merge_request update_merge_request create_commit_status
update_commit_status create_build update_build create_pipeline
update_pipeline create_merge_request_from create_wiki push_code
resolve_note create_container_image update_container_image destroy_container_image