correct spec
This commit is contained in:
parent
be48dfbb8c
commit
f834a5fe4e
|
@ -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 New Issue