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:
Diffstat (limited to 'spec/requests/api/internal/pages_spec.rb')
-rw-r--r--spec/requests/api/internal/pages_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/requests/api/internal/pages_spec.rb b/spec/requests/api/internal/pages_spec.rb
index 1006319eabf..65aa2326af5 100644
--- a/spec/requests/api/internal/pages_spec.rb
+++ b/spec/requests/api/internal/pages_spec.rb
@@ -151,20 +151,6 @@ RSpec.describe API::Internal::Pages, feature_category: :pages do
project.mark_pages_as_deployed
end
- context 'when the feature flag is disabled' do
- before do
- stub_feature_flags(pages_unique_domain: false)
- end
-
- context 'when there are no pages deployed for the related project' do
- it 'responds with 204 No Content' do
- get api('/internal/pages'), headers: auth_header, params: { host: 'unique-domain.example.com' }
-
- expect(response).to have_gitlab_http_status(:no_content)
- end
- end
- end
-
context 'when the unique domain is disabled' do
before do
project.project_setting.update!(pages_unique_domain_enabled: false)