b6c6adfa51
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> |
||
---|---|---|
.. | ||
admin | ||
boards | ||
concerns | ||
dashboard | ||
explore | ||
google_api | ||
groups | ||
import | ||
oauth | ||
profiles | ||
projects | ||
snippets | ||
abuse_reports_controller_spec.rb | ||
application_controller_spec.rb | ||
autocomplete_controller_spec.rb | ||
dashboard_controller_spec.rb | ||
groups_controller_spec.rb | ||
health_check_controller_spec.rb | ||
health_controller_spec.rb | ||
help_controller_spec.rb | ||
invites_controller_spec.rb | ||
metrics_controller_spec.rb | ||
notification_settings_controller_spec.rb | ||
omniauth_callbacks_controller_spec.rb | ||
passwords_controller_spec.rb | ||
profiles_controller_spec.rb | ||
projects_controller_spec.rb | ||
registrations_controller_spec.rb | ||
root_controller_spec.rb | ||
search_controller_spec.rb | ||
sent_notifications_controller_spec.rb | ||
sessions_controller_spec.rb | ||
snippets_controller_spec.rb | ||
uploads_controller_spec.rb | ||
user_callouts_controller_spec.rb | ||
users_controller_spec.rb |