fix: test

This commit is contained in:
Barış Soner Uşaklı
2019-04-29 10:59:52 -04:00
parent c940a73359
commit b990312088

View File

@@ -102,7 +102,7 @@ describe('helpers', function () {
],
};
var html = helpers.generateChildrenCategories(category);
assert.equal(html, '<span class="category-children"><span class="category-children-item pull-left"><div class="icon pull-left" style="background-color: #ff0000; color: #00ff00;"><i class="fa fa-fw undefined"></i></div><a href="' + nconf.get('relative_path') + '/category/undefined"><small>children</small></a></span></span>');
assert.equal(html, '<span class="category-children"><span class="category-children-item pull-left"><div role="presentation" class="icon pull-left" style="background-color: #ff0000; color: #00ff00;"><i class="fa fa-fw undefined"></i></div><a href="' + nconf.get('relative_path') + '/category/undefined"><small>children</small></a></span></span>');
done();
});