summaryrefslogtreecommitdiff
path: root/spec/views/admin/application_settings/general.html.haml_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-21 15:08:13 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-21 15:08:13 +0000
commitd4aa95428e9ae63a476196bc8c1193d3de253530 (patch)
treefa8b39ee60e5c53812b995ec8da643dbeac1bd39 /spec/views/admin/application_settings/general.html.haml_spec.rb
parent0259af319f67b1776c78c0e8132d8b549489984e (diff)
downloadgitlab-ce-d4aa95428e9ae63a476196bc8c1193d3de253530.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/views/admin/application_settings/general.html.haml_spec.rb')
-rw-r--r--spec/views/admin/application_settings/general.html.haml_spec.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/views/admin/application_settings/general.html.haml_spec.rb b/spec/views/admin/application_settings/general.html.haml_spec.rb
index f229fd2dcdc..dd49de8f880 100644
--- a/spec/views/admin/application_settings/general.html.haml_spec.rb
+++ b/spec/views/admin/application_settings/general.html.haml_spec.rb
@@ -46,13 +46,9 @@ RSpec.describe 'admin/application_settings/general.html.haml' do
it_behaves_like 'does not render registration features prompt', :application_setting_disabled_repository_size_limit
end
- context 'with no license and service ping disabled' do
+ context 'with no license and service ping disabled', :without_license do
before do
stub_application_setting(usage_ping_enabled: false)
-
- if Gitlab.ee?
- allow(License).to receive(:current).and_return(nil)
- end
end
it_behaves_like 'renders registration features prompt', :application_setting_disabled_repository_size_limit