diff options
Diffstat (limited to 'spec/frontend/terraform/components/terraform_list_spec.js')
-rw-r--r-- | spec/frontend/terraform/components/terraform_list_spec.js | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/spec/frontend/terraform/components/terraform_list_spec.js b/spec/frontend/terraform/components/terraform_list_spec.js index 580951e799a..ef79c51415b 100644 --- a/spec/frontend/terraform/components/terraform_list_spec.js +++ b/spec/frontend/terraform/components/terraform_list_spec.js @@ -63,11 +63,6 @@ describe('TerraformList', () => { const findStatesTable = () => wrapper.findComponent(StatesTable); const findTab = () => wrapper.findComponent(GlTab); - afterEach(() => { - wrapper.destroy(); - wrapper = null; - }); - describe('when the terraform query has succeeded', () => { describe('when there is a list of terraform states', () => { const states = [ @@ -115,8 +110,8 @@ describe('TerraformList', () => { return waitForPromises(); }); - it('displays a states tab and count', () => { - expect(findTab().text()).toContain('States'); + it('displays a terraform states tab and count', () => { + expect(findTab().text()).toContain('Terraform states'); expect(findBadge().text()).toBe('2'); }); @@ -163,8 +158,8 @@ describe('TerraformList', () => { return waitForPromises(); }); - it('displays a states tab with no count', () => { - expect(findTab().text()).toContain('States'); + it('displays a terraform states tab with no count', () => { + expect(findTab().text()).toContain('Terraform states'); expect(findBadge().exists()).toBe(false); }); |