gitlab-org--gitlab-foss/spec/controllers/admin
Dmitriy Zaporozhets b6c6adfa51
Update invalid test application_settings_controller_spec.rb
There are 2 problems with this spec:

1. It checks for default visiblity level however there is not code in
controller to handle such default. Same check can be performed on model
directly.
2. It passes empty application_setting hash while controller requires
application_setting not to be empty by using `require` with `permit`

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-04-14 00:04:55 +03:00
..
application_settings_controller_spec.rb
applications_controller_spec.rb
dashboard_controller_spec.rb
gitaly_servers_controller_spec.rb
groups_controller_spec.rb
health_check_controller_spec.rb
hooks_controller_spec.rb
identities_controller_spec.rb
impersonations_controller_spec.rb
projects_controller_spec.rb
runners_controller_spec.rb
services_controller_spec.rb
spam_logs_controller_spec.rb
users_controller_spec.rb