From afec673c2bfc2854ae1092cb1ce08bbc567678ad Mon Sep 17 00:00:00 2001 From: Kris Date: Wed, 29 Aug 2018 11:44:04 -0400 Subject: [PATCH] Fixing test --- test/javascripts/acceptance/tags-test.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/javascripts/acceptance/tags-test.js.es6 b/test/javascripts/acceptance/tags-test.js.es6 index 5b4e1d0c0a5..4fb062a7711 100644 --- a/test/javascripts/acceptance/tags-test.js.es6 +++ b/test/javascripts/acceptance/tags-test.js.es6 @@ -5,7 +5,7 @@ QUnit.test("list the tags", async assert => { await visit("/tags"); assert.ok($("body.tags-page").length, "has the body class"); - assert.ok(exists(".tag-eviltrout"), "shows the evil trout tag"); + assert.ok($('*[data-tag-name="eviltrout"]').length, "shows the eviltrout tag"); }); acceptance("Tags listed by group", {