mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 22:51:06 +08:00
DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)
This commit is contained in:
@ -22,22 +22,22 @@ componentTest("default", {
|
||||
},
|
||||
|
||||
async test(assert) {
|
||||
await this.get("subject").expand();
|
||||
await this.subject.expand();
|
||||
|
||||
assert.equal(
|
||||
this.get("subject")
|
||||
this.subject
|
||||
.header()
|
||||
.title(),
|
||||
"Topic Controls"
|
||||
);
|
||||
assert.equal(
|
||||
this.get("subject")
|
||||
this.subject
|
||||
.header()
|
||||
.value(),
|
||||
null
|
||||
);
|
||||
assert.notOk(
|
||||
this.get("subject")
|
||||
this.subject
|
||||
.selectedRow()
|
||||
.exists(),
|
||||
"it doesn’t preselect first row"
|
||||
|
Reference in New Issue
Block a user