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/pages_domains_spec.rb')
-rw-r--r--spec/requests/api/pages_domains_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/pages_domains_spec.rb b/spec/requests/api/pages_domains_spec.rb
index 9ca027c2edc..42d83ff8139 100644
--- a/spec/requests/api/pages_domains_spec.rb
+++ b/spec/requests/api/pages_domains_spec.rb
@@ -440,8 +440,8 @@ RSpec.describe API::PagesDomains, feature_category: :pages do
expect(response).to have_gitlab_http_status(:ok)
expect(response).to match_response_schema('public_api/v4/pages_domain/detail')
expect(pages_domain_with_letsencrypt.auto_ssl_enabled).to be false
- expect(pages_domain_with_letsencrypt.key).to be
- expect(pages_domain_with_letsencrypt.certificate).to be
+ expect(pages_domain_with_letsencrypt.key).to be_present
+ expect(pages_domain_with_letsencrypt.certificate).to be_present
end
it 'updates pages domain with expired certificate', :aggregate_failures do