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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-10 00:09:21 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-10 00:09:21 +0300
commitc03dce2dc9f0f257faac4d43d208d96320ca5c0e (patch)
tree3da57da8f1526935326a10f538bac15797e5f638 /spec/requests
parent283318c20561cc040b62397060771efa74db0d90 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/deployments_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/requests/api/deployments_spec.rb b/spec/requests/api/deployments_spec.rb
index 8d40ced495f..88f5bc868d4 100644
--- a/spec/requests/api/deployments_spec.rb
+++ b/spec/requests/api/deployments_spec.rb
@@ -483,18 +483,6 @@ RSpec.describe API::Deployments do
end
end
- context 'when feature flag is disabled' do
- before do
- stub_feature_flags(delete_deployments_api: false)
- end
-
- it 'is not found' do
- delete api("/projects/#{project.id}/deployments/#{old_deploy.id}", user)
-
- expect(response).to have_gitlab_http_status(:not_found)
- end
- end
-
context 'as a developer' do
let(:developer) { create(:user) }