2017-05-06 13:02:06 -04:00
|
|
|
import Pipelines from '~/pipelines';
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
describe('Pipelines', () => {
|
|
|
|
preloadFixtures('static/pipeline_graph.html.raw');
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
beforeEach(() => {
|
|
|
|
loadFixtures('static/pipeline_graph.html.raw');
|
|
|
|
});
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
it('should be defined', () => {
|
|
|
|
expect(Pipelines).toBeDefined();
|
|
|
|
});
|
2016-12-09 10:13:20 -05:00
|
|
|
|
2017-05-06 13:02:06 -04:00
|
|
|
it('should create a `Pipelines` instance without options', () => {
|
|
|
|
expect(() => { new Pipelines(); }).not.toThrow(); //eslint-disable-line
|
2016-12-09 10:13:20 -05:00
|
|
|
});
|
2017-05-06 13:02:06 -04:00
|
|
|
});
|