Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormfluharty <mfluharty@gitlab.com>2019-03-06 09:39:31 +0300
committermfluharty <mfluharty@gitlab.com>2019-03-07 11:17:26 +0300
commitd6a9cd5d040f68e00e8129186992fc4104c9fe42 (patch)
treea081659cf39c848a2378a1c6fedcf1187f144e70 /spec/javascripts/pipelines
parentee5cceaaf82e8b206bdddcf59eef1739ec5769bb (diff)
Update corresponding test
Diffstat (limited to 'spec/javascripts/pipelines')
-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();