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 ?")