From c09b7cceb8438be884747c36449794468bc6e66b Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Sat, 1 Jul 2017 18:31:54 +0200 Subject: [PATCH] :white_check_mark: Corrige le test variantes --- test/rules.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rules.test.js b/test/rules.test.js index 56358f9a2..f01b94e18 100644 --- a/test/rules.test.js +++ b/test/rules.test.js @@ -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']}) }); });