mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:26:29 +08:00
DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592)
This commit is contained in:
@ -34,7 +34,7 @@ componentTest("adding a value", {
|
||||
);
|
||||
|
||||
assert.deepEqual(
|
||||
this.get("values"),
|
||||
this.values,
|
||||
"firstKey|FirstValue\nsecondKey|secondValue\nthirdKey|thirdValue",
|
||||
"it adds the value to the list of values"
|
||||
);
|
||||
@ -55,7 +55,7 @@ componentTest("adding an invalid value", {
|
||||
);
|
||||
|
||||
assert.deepEqual(
|
||||
this.get("values"),
|
||||
this.values,
|
||||
undefined,
|
||||
"it doesn't add the value to the list of values"
|
||||
);
|
||||
@ -83,7 +83,7 @@ componentTest("removing a value", {
|
||||
);
|
||||
|
||||
assert.equal(
|
||||
this.get("values"),
|
||||
this.values,
|
||||
"secondKey|secondValue",
|
||||
"it removes the expected value"
|
||||
);
|
||||
|
Reference in New Issue
Block a user