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 Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
reports_controller_spec.rb Admin reports controller improvements (#1714) 2017-04-14 11:10:28 +02:00
resets_controller_spec.rb Add password reset for users from admin accounts area (#1841) 2017-04-15 16:44:59 +02:00
settings_controller_spec.rb Admin settings controller refactor, add specs, cleanup (#2225) 2017-04-20 17:18:09 +02:00
silences_controller_spec.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00
suspensions_controller_spec.rb Admin accounts controller cleanup (#1664) 2017-04-13 13:04:23 +02:00