Corrige le test sur les objectifs

pull/47/head
Laurent Bossavit 2017-09-22 10:38:06 +02:00
parent 66dd278972
commit 2de69160fb
1 changed files with 1 additions and 1 deletions

View File

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