Skip to content
Snippets Groups Projects
Commit b32b6d6c authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'rails5-fix-47805' into 'master'

Rails5 ActionController::ParameterMissing: param is missing or the value is…

Closes #47805

See merge request gitlab-org/gitlab-ce!19763
parents 001602b8 71e0d33e
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
---
title: 'Rails5 ActionController::ParameterMissing: param is missing or the value is
empty: application_setting'
merge_request: 19763
author: Jasper Maes
type: fixed
Loading
Loading
@@ -73,7 +73,7 @@ describe Admin::ApplicationSettingsController do
end
 
it 'updates the restricted_visibility_levels when empty array is passed' do
put :update, application_setting: { restricted_visibility_levels: [] }
put :update, application_setting: { restricted_visibility_levels: [""] }
 
expect(response).to redirect_to(admin_application_settings_path)
expect(ApplicationSetting.current.restricted_visibility_levels).to be_empty
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment