diff --git a/package.json b/package.json index 87e004f..ffa4c16 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "dependencies": { "async": "^0.9.0", "clone": "^0.2.0", - "q": "^1.1.2" + "q": "^1.1.2", + "yargs": "^1.3.3" } } diff --git a/test/ai.js b/test/ai.js index def67a5..6b6ee89 100644 --- a/test/ai.js +++ b/test/ai.js @@ -46,6 +46,7 @@ describe('ai', function () { }); }); describe('repl', function () { - + // TODO repl tests + it.skip('should turn stdin into player choices', function () { }); }); }); diff --git a/test/play.js b/test/play.js index 23919e4..edd8c77 100644 --- a/test/play.js +++ b/test/play.js @@ -15,7 +15,7 @@ describe('play', function () { play(original, [players], function (err, turns) { var first_turn = turns[0]; var last_turn = turns.slice(-1)[0]; - chai.expect(first_turn.yield).to.be.above(last_turn.yield); + chai.expect(first_turn.yield).to.not.equal(last_turn.yield); done(); }); });