diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-07 21:26:47 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-07 21:26:47 +0300 |
commit | b40f71479c536c64f0791e29c3aa7aff63e8c548 (patch) | |
tree | db40bac1fc52bbd24b9efa9985fd46f47204d955 /spec/javascripts/vue_shared | |
parent | 3ea1f91e1ee9434b47c744303c409c077eb89f14 (diff) |
fix broken frontend tests
Diffstat (limited to 'spec/javascripts/vue_shared')
-rw-r--r-- | spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6 | 6 | ||||
-rw-r--r-- | spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6 | 8 |
2 files changed, 5 insertions, 9 deletions
diff --git a/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6 b/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6 index e83a1749e82..412abfd5e41 100644 --- a/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6 +++ b/spec/javascripts/vue_shared/components/pipelines_table_row_spec.js.es6 @@ -1,7 +1,5 @@ -/* global pipeline */ - -require('~vue_shared/components/pipelines_table_row'); -require('./mock_data'); +require('~/vue_shared/components/pipelines_table_row'); +const pipeline = require('../../commit/pipelines/mock_data'); describe('Pipelines Table Row', () => { let component; diff --git a/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6 b/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6 index adc9ea904cc..d80c91c1cb0 100644 --- a/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6 +++ b/spec/javascripts/vue_shared/components/pipelines_table_spec.js.es6 @@ -1,8 +1,6 @@ -/* global pipeline */ - -require('~vue_shared/components/pipelines_table'); -require('~lib/utils/datetime_utility'); -require('./mock_data'); +require('~/vue_shared/components/pipelines_table'); +require('~/lib/utils/datetime_utility'); +pipeline = require('../../commit/pipelines/mock_data'); describe('Pipelines Table', () => { preloadFixtures('static/environments/element.html.raw'); |