0
0
Fork 0

Misc coverage improvements for Admin:: and Settings:: controllers (#25346)

This commit is contained in:
Matt Jankowski 2023-10-16 11:20:28 -04:00 committed by GitHub
parent e0ed0f8c7c
commit 708299bb0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 187 additions and 0 deletions

View file

@ -18,4 +18,12 @@ describe Admin::Settings::AppearanceController do
expect(response).to have_http_status(:success)
end
end
describe 'PUT #update' do
it 'updates the settings' do
put :update, params: { form_admin_settings: { custom_css: 'html { display: inline; }' } }
expect(response).to redirect_to(admin_settings_appearance_path)
end
end
end