DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)

This commit is contained in:
Joffrey JAFFEUX
2019-05-27 10:15:39 +02:00
committed by GitHub
parent 170c66c190
commit bfea922167
389 changed files with 2448 additions and 2460 deletions

View File

@ -25,23 +25,23 @@ componentTest("subcatgories - no selection", {
async test(assert) {
assert.equal(
this.get("subject")
this.subject
.header()
.title(),
I18n.t("categories.all_subcategories")
);
await this.get("subject").expand();
await this.subject.expand();
assert.equal(
this.get("subject")
this.subject
.rowByIndex(0)
.name(),
I18n.t("categories.no_subcategory")
);
assert.equal(
this.get("subject")
this.subject
.rowByIndex(1)
.name(),
this.get("childCategories.firstObject.name")
@ -67,23 +67,23 @@ componentTest("subcatgories - selection", {
async test(assert) {
assert.equal(
this.get("subject")
this.subject
.header()
.title(),
this.get("childCategories.firstObject.name")
);
await this.get("subject").expand();
await this.subject.expand();
assert.equal(
this.get("subject")
this.subject
.rowByIndex(0)
.name(),
I18n.t("categories.all_subcategories")
);
assert.equal(
this.get("subject")
this.subject
.rowByIndex(1)
.name(),
I18n.t("categories.no_subcategory")