diff options
author | mfluharty <mfluharty@gitlab.com> | 2019-03-05 23:39:31 -0700 |
---|---|---|
committer | mfluharty <mfluharty@gitlab.com> | 2019-03-07 01:17:26 -0700 |
commit | d6a9cd5d040f68e00e8129186992fc4104c9fe42 (patch) | |
tree | a081659cf39c848a2378a1c6fedcf1187f144e70 | |
parent | ee5cceaaf82e8b206bdddcf59eef1739ec5769bb (diff) | |
download | gitlab-ce-d6a9cd5d040f68e00e8129186992fc4104c9fe42.tar.gz |
Update corresponding test
-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(); |