diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-25 18:10:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-25 18:10:30 +0300 |
commit | d5fa3bac88ff4b8c5870d6d7988fc7e37832c183 (patch) | |
tree | 7fb663cbbaa98fb55d322f91e549ee6b6711a4f2 /spec/features/projects/pages/user_edits_lets_encrypt_settings_spec.rb | |
parent | cc1e91be1cd930f58baebb89f2ff1893045a2aea (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/pages/user_edits_lets_encrypt_settings_spec.rb')
-rw-r--r-- | spec/features/projects/pages/user_edits_lets_encrypt_settings_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/projects/pages/user_edits_lets_encrypt_settings_spec.rb b/spec/features/projects/pages/user_edits_lets_encrypt_settings_spec.rb index 4c633bea64e..2e28fa20b90 100644 --- a/spec/features/projects/pages/user_edits_lets_encrypt_settings_spec.rb +++ b/spec/features/projects/pages/user_edits_lets_encrypt_settings_spec.rb @@ -5,7 +5,8 @@ RSpec.describe "Pages with Let's Encrypt", :https_pages_enabled do include LetsEncryptHelpers include Spec::Support::Helpers::ModalHelpers - let(:project) { create(:project, pages_https_only: false) } + let_it_be_with_reload(:project) { create(:project, :pages_published, pages_https_only: false) } + let(:user) { create(:user) } let(:role) { :maintainer } let(:certificate_pem) { attributes_for(:pages_domain)[:certificate] } |