mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 04:35:58 +08:00
fix category chooser spec
This commit is contained in:
parent
ae004d8b2b
commit
db91d71bf1
@ -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');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user