Commit d6a9cd5d authored by mfluharty's avatar mfluharty

Update corresponding test

parent ee5cceaa
...@@ -196,7 +196,7 @@ describe('Pipelines Table Row', () => { ...@@ -196,7 +196,7 @@ describe('Pipelines Table Row', () => {
it('emits `openConfirmationModal` event when cancel button is clicked and toggles loading', () => { it('emits `openConfirmationModal` event when cancel button is clicked and toggles loading', () => {
eventHub.$once('openConfirmationModal', data => { eventHub.$once('openConfirmationModal', data => {
expect(data.endpoint).toEqual('/cancel'); 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(); component.$el.querySelector('.js-pipelines-cancel-button').click();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment