Commit 242a65f9 authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'jivanvl-update-environment-rollback-spec' into 'master'

Make environment_rollback spec compatible with bootstrap/vue 2

See merge request gitlab-org/gitlab!20505
parents c6a80266 9317c731
...@@ -13,6 +13,8 @@ describe('Rollback Component', () => { ...@@ -13,6 +13,8 @@ describe('Rollback Component', () => {
isLastDeployment: true, isLastDeployment: true,
environment: {}, environment: {},
}, },
attachToDocument: true,
sync: false,
}); });
expect(wrapper.element).toHaveSpriteIcon('repeat'); expect(wrapper.element).toHaveSpriteIcon('repeat');
...@@ -25,6 +27,8 @@ describe('Rollback Component', () => { ...@@ -25,6 +27,8 @@ describe('Rollback Component', () => {
isLastDeployment: false, isLastDeployment: false,
environment: {}, environment: {},
}, },
attachToDocument: true,
sync: false,
}); });
expect(wrapper.element).toHaveSpriteIcon('redo'); expect(wrapper.element).toHaveSpriteIcon('redo');
......
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