Commit d9936c59 authored by Paul Slaughter's avatar Paul Slaughter

Update spec to assert values instead of lengths

parent 01122b77
...@@ -74,7 +74,7 @@ describe('MrWidgetTerraformConainer', () => { ...@@ -74,7 +74,7 @@ describe('MrWidgetTerraformConainer', () => {
it('diplays terraform components and stops loading', () => { it('diplays terraform components and stops loading', () => {
expect(wrapper.find(GlSkeletonLoading).exists()).toBe(false); expect(wrapper.find(GlSkeletonLoading).exists()).toBe(false);
expect(findPlans().length).toEqual(Object.keys(plans).length); expect(findPlans()).toEqual(Object.values(plans));
}); });
it('does not make additional requests after poll is successful', () => { it('does not make additional requests after poll is successful', () => {
......
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