amend test
This commit is contained in:
parent
953d3f2151
commit
f20c5a02c7
|
@ -34,7 +34,7 @@ describe BadgeGranter do
|
|||
it 'should grant missing badges' do
|
||||
post = Fabricate(:post, like_count: 30)
|
||||
2.times {
|
||||
BadgeGranter.backfill(Badge.find(Badge::NicePost))
|
||||
BadgeGranter.backfill(Badge.find(Badge::NicePost), post_ids: [post.id])
|
||||
BadgeGranter.backfill(Badge.find(Badge::GoodPost))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue