32 lines
736 B
JavaScript
32 lines
736 B
JavaScript
|
import fixture from './common/simple_workflow';
|
||
|
import * as specUtils from './common/spec_utils';
|
||
|
import { entry1, entry2, entry3 } from './common/entries';
|
||
|
|
||
|
const backend = 'git-gateway';
|
||
|
const provider = 'gitlab';
|
||
|
|
||
|
describe('Git Gateway (GitLab) Backend Simple Workflow', () => {
|
||
|
let taskResult = { data: {} };
|
||
|
|
||
|
before(() => {
|
||
|
specUtils.before(taskResult, { publish_mode: 'simple', provider }, backend);
|
||
|
});
|
||
|
|
||
|
after(() => {
|
||
|
specUtils.after(taskResult, backend);
|
||
|
});
|
||
|
|
||
|
beforeEach(() => {
|
||
|
specUtils.beforeEach(taskResult, backend);
|
||
|
});
|
||
|
|
||
|
afterEach(() => {
|
||
|
specUtils.afterEach(taskResult, backend);
|
||
|
});
|
||
|
|
||
|
fixture({
|
||
|
entries: [entry1, entry2, entry3],
|
||
|
getUser: () => taskResult.data.user,
|
||
|
});
|
||
|
});
|