summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2018-04-11 12:33:11 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2018-04-11 12:33:11 +1100
commitac1b5def53b949db0245c8c8b4a2eddd5011ccc8 (patch)
tree83020930402dd27d0b7e6f083c87245138fc43e7 /app/models
parent6b246360d4ef358cced8b2c698a1d00f97a2e780 (diff)
downloadgitlab-ce-ac1b5def53b949db0245c8c8b4a2eddd5011ccc8.tar.gz
[Rails5] Fix admin/application_settings_controller
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.
Diffstat (limited to 'app/models')
0 files changed, 0 insertions, 0 deletions