summaryrefslogtreecommitdiff
path: root/spec/javascripts
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-06-27 16:52:13 +0000
committerPhil Hughes <me@iamphill.com>2017-06-27 16:52:13 +0000
commit2da314212f0c120d20d4eae724a524a9505de19c (patch)
tree62edb34064241242835977098e5b254594075ce9 /spec/javascripts
parentbf4129292d1956f528e5a1ee4173b02a8a83a18b (diff)
downloadgitlab-ce-2da314212f0c120d20d4eae724a524a9505de19c.tar.gz
Slightly refactor pipeline schedules form in preparation for additions
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/pipeline_schedules/interval_pattern_input_spec.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/javascripts/pipeline_schedules/interval_pattern_input_spec.js b/spec/javascripts/pipeline_schedules/interval_pattern_input_spec.js
index 56c57d94798..040d14efed2 100644
--- a/spec/javascripts/pipeline_schedules/interval_pattern_input_spec.js
+++ b/spec/javascripts/pipeline_schedules/interval_pattern_input_spec.js
@@ -1,5 +1,8 @@
import Vue from 'vue';
-import IntervalPatternInput from '~/pipeline_schedules/components/interval_pattern_input';
+import Translate from '~/vue_shared/translate';
+import IntervalPatternInput from '~/pipeline_schedules/components/interval_pattern_input.vue';
+
+Vue.use(Translate);
const IntervalPatternInputComponent = Vue.extend(IntervalPatternInput);
const inputNameAttribute = 'schedule[cron]';