Commit bbce29e2 authored by Bryce Johnson's avatar Bryce Johnson

Fix up propsData refs to triggered_by.

parent 1ef5f91c
......@@ -7,7 +7,7 @@ const GraphComponent = Vue.extend(graphComponent);
const pipelineJSON = Object.assign(graphJSON, {
triggered: linkedPipelineJSON.triggered,
triggeredBy: linkedPipelineJSON.triggered_by,
triggered_by: linkedPipelineJSON.triggered_by,
});
const defaultPropsData = {
......@@ -97,7 +97,7 @@ describe('graph component', function () {
describe('when linked pipelines are not present', function () {
beforeEach(function () {
const pipeline = Object.assign(graphJSON, { triggered: [], triggeredBy: [] });
const pipeline = Object.assign(graphJSON, { triggered: [], triggered_by: [] });
this.component = new GraphComponent({
propsData: { pipeline, isLoading: false },
}).$mount();
......
......@@ -9,7 +9,7 @@ describe('Linked pipeline mini list', () => {
beforeEach(() => {
this.component = new ListComponent({
propsData: {
triggeredBy: mockData.triggered_by,
triggered_by: mockData.triggered_by,
},
}).$mount();
});
......
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