DEV: fix some deprecated SVG icon refs

This commit is contained in:
Penar Musaraj
2019-01-22 14:42:00 -05:00
parent 62adc2eb98
commit 9886934ef5
26 changed files with 52 additions and 48 deletions

View File

@ -7,5 +7,5 @@ QUnit.test("group card", async assert => {
assert.ok(invisible("#group-card"), "user card is invisible by default");
await click("a.mention-group:first");
assert.ok(visible(".group-details-container"), "group page show be shown");
assert.ok(visible(".group-details-container"), "group page should be shown");
});

View File

@ -26,11 +26,7 @@ componentTest("pending updates", {
test(assert) {
assert.expect(1);
assert.equal(
this.$(".d-icon-refresh").length,
1,
"shows pending update icon"
);
assert.equal(this.$(".d-icon-sync").length, 1, "shows pending update icon");
}
});

View File

@ -685,7 +685,7 @@ componentTest("emoji", {
toolbar.addButton({
id: "emoji",
group: "extras",
icon: "smile-o",
icon: "far-smile",
action: () => toolbar.context.send("emoji")
});
});

View File

@ -6,7 +6,7 @@ widgetTest("icon only button", {
template: '{{mount-widget widget="button" args=args}}',
beforeEach() {
this.set("args", { icon: "smile-o" });
this.set("args", { icon: "far-smile" });
},
test(assert) {
@ -15,7 +15,7 @@ widgetTest("icon only button", {
"it has all the classes"
);
assert.ok(
this.$("button .d-icon.d-icon-smile-o").length,
this.$("button .d-icon.d-icon-far-smile").length,
"it has the icon"
);
}