Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove now irrelevant test

Christophe Bliarde503f5b0b20b
diff --git a/spec/views/admin/settings/authentication/show.html.erb_spec.rb b/spec/views/admin/settings/authentication/show.html.erb_spec.rb
index 1d20adf9b85..2c1aef8a27c 100644
--- a/spec/views/admin/settings/authentication/show.html.erb_spec.rb
+++ b/spec/views/admin/settings/authentication/show.html.erb_spec.rb
@@ -58,29 +58,4 @@ RSpec.describe 'admin/settings/authentication_settings/show' do
expect(rendered).not_to have_text I18n.t('settings.brute_force_prevention')
end
end
-
- context 'with no registration_footer configured' do
- before do
- allow(OpenProject::Configuration).to receive(:registration_footer).and_return({})
- render
- end
-
- it 'shows the registration footer textfield' do
- expect(rendered).to have_text I18n.t(:setting_registration_footer)
- end
- end
-
- context 'with registration_footer configured' do
- before do
- allow(OpenProject::Configuration)
- .to receive(:registration_footer)
- .and_return("en" => "You approve.")
-
- render
- end
-
- it 'does not show the registration footer textfield' do
- expect(rendered).not_to have_text I18n.t(:setting_registration_footer)
- end
- end
end