summaryrefslogtreecommitdiff
path: root/spec/javascripts/repo/components
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-10-31 09:06:23 +0000
committerPhil Hughes <me@iamphill.com>2017-10-31 09:06:23 +0000
commit662f87ca372515f0b739796b31c7e242f1ebcd7f (patch)
tree6f0e5e00c3c2d6f183fd06c3b3466149223561cc /spec/javascripts/repo/components
parent098a98055abd32a7049b5429064f1ed45e45eea8 (diff)
downloadgitlab-ce-662f87ca372515f0b739796b31c7e242f1ebcd7f.tar.gz
spec fixes
Diffstat (limited to 'spec/javascripts/repo/components')
-rw-r--r--spec/javascripts/repo/components/new_dropdown/modal_spec.js2
1 files changed, 2 insertions, 0 deletions
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);