From f20c5a02c7fd82d2921ba5f5aec5d7fa22f5d85a Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 8 Aug 2014 10:02:26 +1000 Subject: [PATCH] amend test --- spec/services/badge_granter_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/badge_granter_spec.rb b/spec/services/badge_granter_spec.rb index 7143d98bedd..426c877c3ec 100644 --- a/spec/services/badge_granter_spec.rb +++ b/spec/services/badge_granter_spec.rb @@ -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)) }