mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 15:33:41 +08:00
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: - |
||
---|---|---|
.. | ||
polls_controller_spec.rb | ||
posts_controller_spec.rb |