From e9fd4f271ac2617b99368ebc719bfed212943ac3 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 11 Jan 2018 13:43:05 +0100 Subject: [PATCH] FIX: fix category-link spec failure --- test/javascripts/lib/category-badge-test.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/javascripts/lib/category-badge-test.js.es6 b/test/javascripts/lib/category-badge-test.js.es6 index 6dc1ba2c513..17322d46191 100644 --- a/test/javascripts/lib/category-badge-test.js.es6 +++ b/test/javascripts/lib/category-badge-test.js.es6 @@ -26,7 +26,7 @@ QUnit.test("Regular categoryBadge", assert => { const label = tag.children[1]; assert.equal(label.attributes.title, 'cool description', 'it has the correct title'); - assert.equal(label.children[0].data, 'hello', 'it has the category name'); + assert.equal(label.children[0].children[0].data, 'hello', 'it has the category name'); }); QUnit.test("undefined color", assert => {