diff options
Diffstat (limited to 'spec/features/projects/environments/environment_spec.rb')
-rw-r--r-- | spec/features/projects/environments/environment_spec.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/features/projects/environments/environment_spec.rb b/spec/features/projects/environments/environment_spec.rb index bcbf2f46f79..d88ff5c1aa5 100644 --- a/spec/features/projects/environments/environment_spec.rb +++ b/spec/features/projects/environments/environment_spec.rb @@ -342,24 +342,6 @@ RSpec.describe 'Environment' do expect(page).not_to have_button('Stop') end - context 'when the feature flag :delete_branch_confirmation_modals is disabled' do - before do - stub_feature_flags(delete_branch_confirmation_modals: false) - end - - it 'user deletes the branch with running environment' do - visit project_branches_filtered_path(project, state: 'all', search: 'feature') - - remove_branch_with_hooks(project, user, 'feature') do - within('.js-branch-feature') { click_link(title: 'Delete branch') } - end - - visit_environment(environment) - - expect(page).not_to have_button('Stop') - end - end - ## # This is a workaround for problem described in #24543 # |