ac1b5def53
The `RAILS5=1 rspec spec/controllers/admin/application_settings_controller_spec.rb` command throws the error: Failures: 1) Admin::ApplicationSettingsController PUT #update falls back to defaults when settings are omitted Failure/Error: import_sources = params[:application_setting][:import_sources] NoMethodError: undefined method `[]' for nil:NilClass # ./app/controllers/admin/application_settings_controller.rb:62:in `application_setting_params' This commit fixes it. |
||
---|---|---|
.. | ||
abuse_reports_controller.rb | ||
appearances_controller.rb | ||
application_controller.rb | ||
application_settings_controller.rb | ||
applications_controller.rb | ||
background_jobs_controller.rb | ||
broadcast_messages_controller.rb | ||
cohorts_controller.rb | ||
conversational_development_index_controller.rb | ||
dashboard_controller.rb | ||
deploy_keys_controller.rb | ||
gitaly_servers_controller.rb | ||
groups_controller.rb | ||
health_check_controller.rb | ||
hook_logs_controller.rb | ||
hooks_controller.rb | ||
identities_controller.rb | ||
impersonation_tokens_controller.rb | ||
impersonations_controller.rb | ||
jobs_controller.rb | ||
keys_controller.rb | ||
labels_controller.rb | ||
logs_controller.rb | ||
projects_controller.rb | ||
requests_profiles_controller.rb | ||
runner_projects_controller.rb | ||
runners_controller.rb | ||
services_controller.rb | ||
spam_logs_controller.rb | ||
system_info_controller.rb | ||
users_controller.rb |