From 662f87ca372515f0b739796b31c7e242f1ebcd7f Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Tue, 31 Oct 2017 09:06:23 +0000 Subject: spec fixes --- spec/javascripts/repo/components/new_dropdown/modal_spec.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/javascripts/repo/components') diff --git a/spec/javascripts/repo/components/new_dropdown/modal_spec.js b/spec/javascripts/repo/components/new_dropdown/modal_spec.js index ed0a443fded..1ff7590ec79 100644 --- a/spec/javascripts/repo/components/new_dropdown/modal_spec.js +++ b/spec/javascripts/repo/components/new_dropdown/modal_spec.js @@ -19,6 +19,7 @@ describe('new file modal component', () => { beforeEach(() => { vm = createComponentWithStore(Component, store, { type, + path: '', }).$mount(); vm.entryName = 'testing'; @@ -187,6 +188,7 @@ describe('new file modal component', () => { vm = createComponentWithStore(Component, store, { type: 'tree', + path: '', }).$mount('.js-test'); expect(document.activeElement).toBe(vm.$refs.fieldName); -- cgit v1.2.1