Commit 9317c731 authored by Jose Vargas's avatar Jose Vargas

Update environment_rollback spec

parent 97f3a449
...@@ -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