mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 09:10:25 +08:00
FIX: fix category-link spec failure
This commit is contained in:
parent
3a7d2da633
commit
e9fd4f271a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue