Commit d283e36d authored by Małgorzata Ksionek's avatar Małgorzata Ksionek

Add specs for application settings

parent 7fea640d
......@@ -81,6 +81,15 @@ describe Admin::ApplicationSettingsController do
it_behaves_like 'settings for licensed features'
end
context 'default project deletion protection' do
let(:settings) do
{ default_project_deletion_protection: true }
end
let(:feature) { :default_project_deletion_protection }
it_behaves_like 'settings for licensed features'
end
context 'additional email footer' do
let(:settings) { { email_additional_text: 'scary legal footer' } }
let(:feature) { :email_additional_text }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment