diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-13 15:07:18 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-13 15:07:18 +0300 |
commit | c3eeb6a8d6a4b11f0bc5e5eb1ed43b0726f1ea26 (patch) | |
tree | 7283014bb12ce53b57d2703b229095ad58e6d820 /spec/frontend/integrations | |
parent | 10e15ac3c2798956ff6a43d7b36bdf86c68aa817 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/integrations')
-rw-r--r-- | spec/frontend/integrations/edit/components/override_dropdown_spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/frontend/integrations/edit/components/override_dropdown_spec.js b/spec/frontend/integrations/edit/components/override_dropdown_spec.js index 2d1a6b3ace1..a528816971a 100644 --- a/spec/frontend/integrations/edit/components/override_dropdown_spec.js +++ b/spec/frontend/integrations/edit/components/override_dropdown_spec.js @@ -1,4 +1,4 @@ -import { GlDropdown, GlLink } from '@gitlab/ui'; +import { GlCollapsibleListbox, GlLink } from '@gitlab/ui'; import { shallowMount } from '@vue/test-utils'; import OverrideDropdown from '~/integrations/edit/components/override_dropdown.vue'; @@ -27,14 +27,14 @@ describe('OverrideDropdown', () => { }; const findGlLink = () => wrapper.findComponent(GlLink); - const findGlDropdown = () => wrapper.findComponent(GlDropdown); + const findGlCollapsibleListbox = () => wrapper.findComponent(GlCollapsibleListbox); describe('template', () => { describe('override prop is true', () => { it('renders GlToggle as disabled', () => { createComponent(); - expect(findGlDropdown().props('text')).toBe('Use custom settings'); + expect(findGlCollapsibleListbox().props('toggleText')).toBe('Use custom settings'); }); }); @@ -42,7 +42,7 @@ describe('OverrideDropdown', () => { it('renders GlToggle as disabled', () => { createComponent({ override: false }); - expect(findGlDropdown().props('text')).toBe('Use default settings'); + expect(findGlCollapsibleListbox().props('toggleText')).toBe('Use default settings'); }); }); |