mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
correct spec
This commit is contained in:
@@ -13,6 +13,7 @@ describe BadgeGranter do
|
||||
|
||||
user.user_profile.update_column(:badge_granted_title, true)
|
||||
|
||||
BadgeGranter.grant(badge, user)
|
||||
BadgeGranter.revoke_ungranted_titles!
|
||||
|
||||
user.reload
|
||||
|
||||
Reference in New Issue
Block a user