From d6a9cd5d040f68e00e8129186992fc4104c9fe42 Mon Sep 17 00:00:00 2001 From: mfluharty Date: Tue, 5 Mar 2019 23:39:31 -0700 Subject: [PATCH] Update corresponding test --- spec/javascripts/pipelines/pipelines_table_row_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/javascripts/pipelines/pipelines_table_row_spec.js b/spec/javascripts/pipelines/pipelines_table_row_spec.js index 4c575536f0e..223703b60c1 100644 --- a/spec/javascripts/pipelines/pipelines_table_row_spec.js +++ b/spec/javascripts/pipelines/pipelines_table_row_spec.js @@ -196,7 +196,7 @@ describe('Pipelines Table Row', () => { it('emits `openConfirmationModal` event when cancel button is clicked and toggles loading', () => { eventHub.$once('openConfirmationModal', data => { expect(data.endpoint).toEqual('/cancel'); - expect(data.pipelineId).toEqual(pipeline.id); + expect(data.pipeline.id).toEqual(pipeline.id); }); component.$el.querySelector('.js-pipelines-cancel-button').click();