docbrown/spec/models/users
Takuma baab2c0930
Subscribe the newsletter if email_newsletter is changed (#14226)
* Check if email_newsletter is changed

* Check if Settings::General.mailchimp_api_key is defined

* Add spec for Users::NotificationSetting

* Remove spec for boolean column

http://www.chrisrolle.com/en/blog/boolean-attribute-validation

* Check if email is set when changing newsletter subscription setting

* Make it easy to read

* Remove specs for a case never happening
2021-10-06 12:30:22 +07:00
..
notification_setting_spec.rb Subscribe the newsletter if email_newsletter is changed (#14226) 2021-10-06 12:30:22 +07:00
setting_spec.rb Fix brand color validation (#14303) 2021-07-22 09:35:20 +01:00
suspended_username_spec.rb Rename banned and comment_banned roles (#12270) 2021-04-06 10:12:14 -05:00