fix d-button tests (#9316)
This commit is contained in:
parent
5b6cdd6fb5
commit
8f4b54fedd
|
@ -64,7 +64,7 @@ componentTest("isLoading button", {
|
|||
|
||||
test(assert) {
|
||||
assert.ok(
|
||||
find("button.is-loading .spinner").length,
|
||||
find("button.is-loading .loading-icon").length,
|
||||
"it has a spinner showing"
|
||||
);
|
||||
assert.ok(
|
||||
|
@ -75,7 +75,7 @@ componentTest("isLoading button", {
|
|||
this.set("isLoading", false);
|
||||
|
||||
assert.notOk(
|
||||
find("button .spinner").length,
|
||||
find("button .loading-icon").length,
|
||||
"it doesn't have a spinner showing"
|
||||
);
|
||||
assert.ok(
|
||||
|
|
Loading…
Reference in New Issue