mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 14:01:14 +08:00
DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)
This commit is contained in:
@ -28,7 +28,7 @@ componentTest("updating the content refreshes the list", {
|
||||
|
||||
async test(assert) {
|
||||
assert.equal(
|
||||
this.get("subject")
|
||||
this.subject
|
||||
.header()
|
||||
.name(),
|
||||
"pinned"
|
||||
@ -37,7 +37,7 @@ componentTest("updating the content refreshes the list", {
|
||||
await this.set("pinned", false);
|
||||
|
||||
assert.equal(
|
||||
this.get("subject")
|
||||
this.subject
|
||||
.header()
|
||||
.name(),
|
||||
"unpinned"
|
||||
|
Reference in New Issue
Block a user