mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
correct spec
This commit is contained in:
parent
be48dfbb8c
commit
f834a5fe4e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue