Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2018-03-24 14:05:04 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2018-03-26 12:29:52 +0300
commite7061396666074c799780a9fc4090267c3b87e12 (patch)
treea6ef06df1306b3c462bc9785f223903018e278f4 /spec/policies
parent1f7328f8ee6a86b1c8e50b7451450e90d78b9424 (diff)
DestroyService for protected tags/branches used from controller
Diffstat (limited to 'spec/policies')
-rw-r--r--spec/policies/protected_branch_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/protected_branch_policy_spec.rb b/spec/policies/protected_branch_policy_spec.rb
index 00a7d8153ae..decddfde89a 100644
--- a/spec/policies/protected_branch_policy_spec.rb
+++ b/spec/policies/protected_branch_policy_spec.rb
@@ -29,7 +29,7 @@ describe ProtectedBranchPolicy do
context 'and unprotection is limited to admins' do #TODO: remove this is temporary exploration
before do
- stub_ee_application_setting(only_admins_can_unprotect_master_branch: true)
+ stub_application_setting(only_admins_can_unprotect_master_branch: true)
end
context 'and the protection is for master' do