From bbf9f45aa415eab124d205e081036fe742271656 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Fri, 18 Sep 2015 15:32:24 -0400 Subject: [PATCH] fix(test): Seasonal food drop --- test/common/algos.mocha.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/algos.mocha.coffee b/test/common/algos.mocha.coffee index 5b9719a471..b269615c38 100644 --- a/test/common/algos.mocha.coffee +++ b/test/common/algos.mocha.coffee @@ -518,12 +518,12 @@ describe 'User', -> expect(user.items.hatchingPotions).to.eql {} expect(user.items.food).to.eql {} - it 'gets honey', -> + it 'gets red candy', -> sinon.stub(user.fns, 'predictableRandom', cycle [0, 0, 0.9]) user.ops.score {params: { id: @task_id, direction: 'up'}} expect(user.items.eggs).to.eql {} expect(user.items.hatchingPotions).to.eql {} - expect(user.items.food).to.eql {'Honey': 1} + expect(user.items.food).to.eql {'Candy_Red': 1} it 'does not get a drop', -> sinon.stub(user.fns, 'predictableRandom').returns 0.5