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