mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
fix category chooser spec
This commit is contained in:
@@ -54,7 +54,7 @@ componentTest('with allowUncategorized=null', {
|
|||||||
test(assert) {
|
test(assert) {
|
||||||
andThen(() => {
|
andThen(() => {
|
||||||
assert.equal(this.get('subject').header().value(), null);
|
assert.equal(this.get('subject').header().value(), null);
|
||||||
assert.equal(this.get('subject').header().title(), "Select a category…");
|
assert.equal(this.get('subject').header().title(), "Select a category");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -69,7 +69,7 @@ componentTest('with allowUncategorized=null rootNone=true', {
|
|||||||
test(assert) {
|
test(assert) {
|
||||||
andThen(() => {
|
andThen(() => {
|
||||||
assert.equal(this.get('subject').header().value(), null);
|
assert.equal(this.get('subject').header().value(), null);
|
||||||
assert.equal(this.get('subject').header().title(), 'Select a category…');
|
assert.equal(this.get('subject').header().title(), 'Select a category');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -85,7 +85,7 @@ componentTest('with disallowed uncategorized, rootNone and rootNoneLabel', {
|
|||||||
test(assert) {
|
test(assert) {
|
||||||
andThen(() => {
|
andThen(() => {
|
||||||
assert.equal(this.get('subject').header().value(), null);
|
assert.equal(this.get('subject').header().value(), null);
|
||||||
assert.equal(this.get('subject').header().title(), 'Select a category…');
|
assert.equal(this.get('subject').header().title(), 'Select a category');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user