summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-30 19:50:17 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-10-30 19:50:17 +0000
commit1c978aff62dc78acbbfc6fd153dcb5f7b777ac3f (patch)
treee0205c79eb00eed72abbd47d45868513e2312814
parent430131f720187772f46e776a100273aba0d13aa6 (diff)
downloadgitlab-ce-1c978aff62dc78acbbfc6fd153dcb5f7b777ac3f.tar.gz
Fix broken test38869-issue
-rw-r--r--spec/javascripts/header_spec.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/header_spec.js b/spec/javascripts/header_spec.js
index 4751eb868a4..2443ffd48f3 100644
--- a/spec/javascripts/header_spec.js
+++ b/spec/javascripts/header_spec.js
@@ -1,4 +1,4 @@
-import '~/header';
+import initTodoToggle from '~/header';
describe('Header', function () {
const todosPendingCount = '.todos-count';
@@ -14,6 +14,7 @@ describe('Header', function () {
preloadFixtures(fixtureTemplate);
beforeEach(() => {
+ initTodoToggle();
loadFixtures(fixtureTemplate);
});