summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormfluharty <mfluharty@gitlab.com>2019-03-05 23:39:31 -0700
committermfluharty <mfluharty@gitlab.com>2019-03-07 01:17:26 -0700
commitd6a9cd5d040f68e00e8129186992fc4104c9fe42 (patch)
treea081659cf39c848a2378a1c6fedcf1187f144e70
parentee5cceaaf82e8b206bdddcf59eef1739ec5769bb (diff)
downloadgitlab-ce-d6a9cd5d040f68e00e8129186992fc4104c9fe42.tar.gz
Update corresponding test
-rw-r--r--spec/javascripts/pipelines/pipelines_table_row_spec.js2
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();