2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

icons deprecations fixes (#6920)

This commit is contained in:
Joffrey JAFFEUX 2019-01-22 12:02:02 +01:00 committed by GitHub
parent ea0e188c8f
commit 80d42b4ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
78 changed files with 151 additions and 145 deletions

View file

@ -6,13 +6,13 @@ componentTest("with image", {
test(assert) {
assert.equal(
this.$(".d-icon-picture-o").length,
this.$(".d-icon-far-image").length,
1,
"it displays the upload icon"
);
assert.equal(
this.$(".d-icon-trash-o").length,
this.$(".d-icon-far-trash-alt").length,
1,
"it displays the trash icon"
);
@ -24,13 +24,13 @@ componentTest("without image", {
test(assert) {
assert.equal(
this.$(".d-icon-picture-o").length,
this.$(".d-icon-far-image").length,
1,
"it displays the upload icon"
);
assert.equal(
this.$(".d-icon-trash-o").length,
this.$(".d-icon-far-trash-alt").length,
0,
"it does not display trash icon"
);