From 2de69160fbceec339563d5011ba3cb77d9c45f9b Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Fri, 22 Sep 2017 10:38:06 +0200 Subject: [PATCH] :white_check_mark: Corrige le test sur les objectifs --- test/generateQuestions.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/generateQuestions.test.js b/test/generateQuestions.test.js index c47d7cca3..c15ce10a1 100644 --- a/test/generateQuestions.test.js +++ b/test/generateQuestions.test.js @@ -271,7 +271,7 @@ describe('buildNextSteps', function() { objectives = getObjectives(stateSelector, situation.root, situation.parsedRules), result = buildNextSteps(stateSelector, rules, situation) - expect(objectives).to.have.lengthOf(2) + expect(objectives).to.have.lengthOf(3) // Salaire net, coût du travail, surcoût CDD expect(result).to.have.lengthOf(3) expect(R.path(["question","props","label"])(result[0])).to.equal("Quel est le salaire brut ?") expect(R.path(["question","props","label"])(result[1])).to.equal("Le salarié a-t-il le statut cadre ?")