Corrige le test variantes

pull/18/head
Laurent Bossavit 2017-07-01 18:31:54 +02:00
parent 32edfa57a8
commit c09b7cceb8
1 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ describe('findVariantsAndRecords', function() {
{nom: "ko", espace: "top . sum . evt"}],
rules = rawRules.map(enrichRule),
situation = analyseSituation(rules,"sum")(stateSelector),
result = findVariantsAndRecords(rules, {variantGroups: {}, recordGroups: {}}, 'top . sum . evt . ko', 'top . deux')
result = findVariantsAndRecords(rules, {variantGroups: {}, recordGroups: {}}, 'top . sum . evt . ko')
expect(result).to.have.deep.property('variantGroups', {"top . sum . evt": ['top . deux']})
expect(result).to.have.deep.property('variantGroups', {"top . sum . evt": ['top . sum . evt . ko']})
});
});