21d614215b
This change refactors the check `user.groups.any?` and instead uses `user.staged?` to check if the user is staged or not. Also fixes several tests to ensure the users have their auto trust level groups created. Follow up to: - |
||
---|---|---|
.. | ||
authentication_results_spec.rb | ||
cleaner_spec.rb | ||
email_spec.rb | ||
message_builder_spec.rb | ||
processor_spec.rb | ||
receiver_spec.rb | ||
renderer_spec.rb | ||
sender_spec.rb | ||
styles_spec.rb |