From a3fccbc3c39a25a0465064848b85068d9b0595dc Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 15 Jul 2019 16:38:54 +0800 Subject: [PATCH] Fix the build. Follow up to 4b0cf7f6dd28dbb9654903628f2b2d78113863d1. --- test/javascripts/acceptance/admin-watched-words-test.js.es6 | 2 +- test/javascripts/fixtures/watched-words-fixtures.js.es6 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/javascripts/acceptance/admin-watched-words-test.js.es6 b/test/javascripts/acceptance/admin-watched-words-test.js.es6 index 0f5b741aae..c602667fa6 100644 --- a/test/javascripts/acceptance/admin-watched-words-test.js.es6 +++ b/test/javascripts/acceptance/admin-watched-words-test.js.es6 @@ -83,5 +83,5 @@ QUnit.test("remove words", async assert => { await click("#" + $(word).attr("id")); - assert.equal(find(".watched-words-list .watched-word").length, 1); + assert.equal(find(".watched-words-list .watched-word").length, 2); }); diff --git a/test/javascripts/fixtures/watched-words-fixtures.js.es6 b/test/javascripts/fixtures/watched-words-fixtures.js.es6 index 14c180f4d4..fb9869e9e1 100644 --- a/test/javascripts/fixtures/watched-words-fixtures.js.es6 +++ b/test/javascripts/fixtures/watched-words-fixtures.js.es6 @@ -7,7 +7,7 @@ export default { { id: 3, word: "pyramid", action: "flag" }, { id: 4, word: "scheme", action: "flag" }, { id: 5, word: "coupon", action: "require_approval" }, - { id: 6, word: '', action: "block" }, + { id: 6, word: '', action: "block" } ] } };