summaryrefslogtreecommitdiff
path: root/spec/models/protected_branch
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-02-18 10:34:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-18 10:34:06 +0000
commit859a6fb938bb9ee2a317c46dfa4fcc1af49608f0 (patch)
treed7f2700abe6b4ffcb2dcfc80631b2d87d0609239 /spec/models/protected_branch
parent446d496a6d000c73a304be52587cd9bbc7493136 (diff)
downloadgitlab-ce-859a6fb938bb9ee2a317c46dfa4fcc1af49608f0.tar.gz
Add latest changes from gitlab-org/gitlab@13-9-stable-eev13.9.0-rc42
Diffstat (limited to 'spec/models/protected_branch')
-rw-r--r--spec/models/protected_branch/push_access_level_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/models/protected_branch/push_access_level_spec.rb b/spec/models/protected_branch/push_access_level_spec.rb
index 051cb78a6b6..17a589f0485 100644
--- a/spec/models/protected_branch/push_access_level_spec.rb
+++ b/spec/models/protected_branch/push_access_level_spec.rb
@@ -54,16 +54,6 @@ RSpec.describe ProtectedBranch::PushAccessLevel do
specify do
expect(push_access_level.check_access(user)).to be_truthy
end
-
- context 'when the deploy_keys_on_protected_branches FF is false' do
- before do
- stub_feature_flags(deploy_keys_on_protected_branches: false)
- end
-
- it 'is false' do
- expect(push_access_level.check_access(user)).to be_falsey
- end
- end
end
context 'when the deploy key is not among the active keys of this project' do