mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-17 23:57:14 +01:00
1ada494bb2
* 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