diff options
Diffstat (limited to 'spec/models/protected_branch/push_access_level_spec.rb')
-rw-r--r-- | spec/models/protected_branch/push_access_level_spec.rb | 10 |
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 |