summaryrefslogtreecommitdiff
path: root/spec/requests/api/release
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2019-01-08 17:44:27 +0900
committerShinya Maeda <shinya@gitlab.com>2019-01-11 13:26:09 +0900
commit9b823af4fd2b937c1e769b4ad2abd4f92aca35c9 (patch)
treee742d8bee253e980fc6cc0eb86765456b9b97d14 /spec/requests/api/release
parent89c4d2ae623dbd666e2eaa58812323b81e02b4ea (diff)
downloadgitlab-ce-9b823af4fd2b937c1e769b4ad2abd4f92aca35c9.tar.gz
Remove releases_page feature flag
We introduced releases_page feature flag. Given this feature is deemed stable, we should remove this flag before 19th.
Diffstat (limited to 'spec/requests/api/release')
-rw-r--r--spec/requests/api/release/links_spec.rb58
1 files changed, 0 insertions, 58 deletions
diff --git a/spec/requests/api/release/links_spec.rb b/spec/requests/api/release/links_spec.rb
index 9d62257d470..ba948e37e2f 100644
--- a/spec/requests/api/release/links_spec.rb
+++ b/spec/requests/api/release/links_spec.rb
@@ -74,16 +74,6 @@ describe API::Release::Links do
end
end
end
-
- context 'when feature flag is disabled' do
- before do
- stub_feature_flags(releases_page: false)
- end
-
- it_behaves_like '404 response' do
- let(:request) { get api("/projects/#{project.id}/releases/v0.1/assets/links", maintainer) }
- end
- end
end
describe 'GET /projects/:id/releases/:tag_name/assets/links/:link_id' do
@@ -129,16 +119,6 @@ describe API::Release::Links do
end
end
end
-
- context 'when feature flag is disabled' do
- before do
- stub_feature_flags(releases_page: false)
- end
-
- it_behaves_like '404 response' do
- let(:request) { get api("/projects/#{project.id}/releases/non_existing_tag/assets/links/#{release_link.id}", maintainer) }
- end
- end
end
describe 'POST /projects/:id/releases/:tag_name/assets/links' do
@@ -231,19 +211,6 @@ describe API::Release::Links do
end
end
end
-
- context 'when feature flag is disabled' do
- before do
- stub_feature_flags(releases_page: false)
- end
-
- it_behaves_like '404 response' do
- let(:request) do
- post api("/projects/#{project.id}/releases/v0.1/assets/links", maintainer),
- params: params
- end
- end
- end
end
describe 'PUT /projects/:id/releases/:tag_name/assets/links/:link_id' do
@@ -328,19 +295,6 @@ describe API::Release::Links do
end
end
end
-
- context 'when feature flag is disabled' do
- before do
- stub_feature_flags(releases_page: false)
- end
-
- it_behaves_like '404 response' do
- let(:request) do
- put api("/projects/#{project.id}/releases/v0.1/assets/links/#{release_link.id}", maintainer),
- params: params
- end
- end
- end
end
describe 'DELETE /projects/:id/releases/:tag_name/assets/links/:link_id' do
@@ -401,17 +355,5 @@ describe API::Release::Links do
end
end
end
-
- context 'when feature flag is disabled' do
- before do
- stub_feature_flags(releases_page: false)
- end
-
- it_behaves_like '404 response' do
- let(:request) do
- delete api("/projects/#{project.id}/releases/v0.1/assets/links/#{release_link.id}", maintainer)
- end
- end
- end
end
end