mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
fix category chooser spec
This commit is contained in:
@ -54,7 +54,7 @@ componentTest('with allowUncategorized=null', {
|
||||
test(assert) {
|
||||
andThen(() => {
|
||||
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) {
|
||||
andThen(() => {
|
||||
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) {
|
||||
andThen(() => {
|
||||
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