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
Eugen Rochko 555c4e11ba
Add validations to admin settings (#10348)
* Add validations to admin settings

- Validate correct HTML markup
- Validate presence of contact username & e-mail
- Validate that all usernames are valid
- Validate that enums have expected values

* Fix code style issue

* Fix tests
2019-03-23 14:07:04 +01:00
..
account_moderation_notes_controller_spec.rb
accounts_controller_spec.rb
action_logs_controller_spec.rb
base_controller_spec.rb
change_email_controller_spec.rb
confirmations_controller_spec.rb
custom_emojis_controller_spec.rb
dashboard_controller_spec.rb
domain_blocks_controller_spec.rb
email_domain_blocks_controller_spec.rb
instances_controller_spec.rb
invites_controller_spec.rb
report_notes_controller_spec.rb
reported_statuses_controller_spec.rb
reports_controller_spec.rb
resets_controller_spec.rb
roles_controller_spec.rb
settings_controller_spec.rb
statuses_controller_spec.rb
subscriptions_controller_spec.rb
tags_controller_spec.rb
two_factor_authentications_controller_spec.rb