fix d-button tests (#9316)

This commit is contained in:
Joffrey JAFFEUX 2020-03-30 23:42:21 +02:00 committed by GitHub
parent 5b6cdd6fb5
commit 8f4b54fedd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(