diff options
author | James Edwards-Jones <jedwardsjones@gitlab.com> | 2018-03-24 14:05:04 +0300 |
---|---|---|
committer | James Edwards-Jones <jedwardsjones@gitlab.com> | 2018-03-26 12:29:52 +0300 |
commit | e7061396666074c799780a9fc4090267c3b87e12 (patch) | |
tree | a6ef06df1306b3c462bc9785f223903018e278f4 /spec/policies/protected_branch_policy_spec.rb | |
parent | 1f7328f8ee6a86b1c8e50b7451450e90d78b9424 (diff) |
DestroyService for protected tags/branches used from controller
Diffstat (limited to 'spec/policies/protected_branch_policy_spec.rb')
-rw-r--r-- | spec/policies/protected_branch_policy_spec.rb | 2 |
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 |