This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/controllers/admin
Matt Jankowski 1ada494bb2 Admin settings controller refactor, add specs, cleanup (#2225)
* Add render_views for admin/settings spec

* Add coverage for admin/settings#update

* Add coverage for admin/settings typecasting open_registrations setting

* Simplify how admin/settings finds the value for updating

* Rely on activerecord to not update a value that hasnt changed

* Add coverage for non-existent setting

* Use a constant for boolean settings
2017-04-20 17:18:09 +02:00
..
accounts_controller_spec.rb
domain_blocks_controller_spec.rb
instances_controller_spec.rb Instances list in admin (#2095) 2017-04-18 21:09:07 +02:00
pubsubhubbub_controller_spec.rb
reported_statuses_controller_spec.rb
reports_controller_spec.rb
resets_controller_spec.rb
settings_controller_spec.rb Admin settings controller refactor, add specs, cleanup (#2225) 2017-04-20 17:18:09 +02:00
silences_controller_spec.rb
suspensions_controller_spec.rb