mirror of
https://github.com/discourse/discourse.git
synced 2025-03-05 18:59:22 +00:00
FIX: fix category-link spec failure
This commit is contained in:
parent
3a7d2da633
commit
e9fd4f271a
@ -26,7 +26,7 @@ QUnit.test("Regular categoryBadge", assert => {
|
|||||||
const label = tag.children[1];
|
const label = tag.children[1];
|
||||||
assert.equal(label.attributes.title, 'cool description', 'it has the correct title');
|
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 => {
|
QUnit.test("undefined color", assert => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user