diff options
author | mfluharty <mfluharty@gitlab.com> | 2019-03-06 09:39:31 +0300 |
---|---|---|
committer | mfluharty <mfluharty@gitlab.com> | 2019-03-07 11:17:26 +0300 |
commit | d6a9cd5d040f68e00e8129186992fc4104c9fe42 (patch) | |
tree | a081659cf39c848a2378a1c6fedcf1187f144e70 /spec/javascripts/pipelines/pipelines_table_row_spec.js | |
parent | ee5cceaaf82e8b206bdddcf59eef1739ec5769bb (diff) |
Update corresponding test
Diffstat (limited to 'spec/javascripts/pipelines/pipelines_table_row_spec.js')
-rw-r--r-- | spec/javascripts/pipelines/pipelines_table_row_spec.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |