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 => {