Skip to content

Commit 3302f6b

Browse files
authored
DEV: remove unused test assertation (#65)
1 parent 6bda1cc commit 3302f6b

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

test/acceptance/tag-icons-test.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ acceptance("Topic with tags", function (needs) {
88

99
const topicResponse = topicFixtures["/t/280/1.json"];
1010
topicResponse.tags = ["tag1", "Tag2", "newsman"];
11-
topicResponse.tags_descriptions = {
12-
newsman: "newsman <a href='test'>link</a>",
13-
};
1411

1512
test("Decorate topic title", async function (assert) {
1613
await visit("/t/internationalization-localization/280");
@@ -41,14 +38,6 @@ acceptance("Topic with tags", function (needs) {
4138
assert
4239
.dom(".discourse-tags a.discourse-tag .tag-icon .d-icon")
4340
.hasClass("d-icon-gear", "tag matches correct icon");
44-
45-
assert
46-
.dom(".discourse-tag[data-tag-name='newsman']")
47-
.hasAttribute(
48-
"title",
49-
"newsman link",
50-
"has correct title without markup"
51-
);
5241
});
5342

5443
test("Tag uppercase matches", async function (assert) {

0 commit comments

Comments
 (0)