diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-20 11:18:09 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-20 17:18:09 +0200 |
commit | 1ada494bb21658c92a58f8bd9e5cc4d7ebf59b6e (patch) | |
tree | 9032e9e73ff1279ad031a77400530bbd40e6ebbd /spec/services/post_status_service_spec.rb | |
parent | 4df26b262184ebc75344369f236e2a37e3722513 (diff) |
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
Diffstat (limited to 'spec/services/post_status_service_spec.rb')
0 files changed, 0 insertions, 0 deletions