Update corresponding test

This commit is contained in:
mfluharty 2019-03-05 23:39:31 -07:00
parent ee5cceaaf8
commit d6a9cd5d04
No known key found for this signature in database
GPG Key ID: 6FDA03A308D239E8
1 changed files with 1 additions and 1 deletions

View File

@ -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();