Commit 1d0820c7 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken specs from the Frontend side

parent edebf538
...@@ -88,3 +88,5 @@ const pipeline = { ...@@ -88,3 +88,5 @@ const pipeline = {
created_at: '2017-01-16T17:13:59.800Z', created_at: '2017-01-16T17:13:59.800Z',
updated_at: '2017-01-25T00:00:17.132Z', updated_at: '2017-01-25T00:00:17.132Z',
}; };
module.exports = pipeline;
/* global pipeline, Vue */ /* global pipeline, Vue */
require('vue-resource'); require('~/flash');
require('flash');
require('~/commit/pipelines/pipelines_store'); require('~/commit/pipelines/pipelines_store');
require('~/commit/pipelines/pipelines_service'); require('~/commit/pipelines/pipelines_service');
require('~/commit/pipelines/pipelines_table'); require('~/commit/pipelines/pipelines_table');
require('~vue_shared/vue_resource_interceptor'); require('~/vue_shared/vue_resource_interceptor');
require('./mock_data'); const pipeline = require('./mock_data');
describe('Pipelines table in Commits and Merge requests', () => { describe('Pipelines table in Commits and Merge requests', () => {
preloadFixtures('pipelines_table'); preloadFixtures('static/pipelines_table.html.raw');
beforeEach(() => { beforeEach(() => {
loadFixtures('pipelines_table'); loadFixtures('static/pipelines_table.html.raw');
}); });
describe('successfull request', () => { describe('successfull request', () => {
......
require('~/vue_shared/components/committ'); require('~/vue_shared/components/commit');
describe('Commit component', () => { describe('Commit component', () => {
let props; let props;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment