diff options
Diffstat (limited to 'spec/frontend/search/sidebar/components/confidentiality_filter_spec.js')
-rw-r--r-- | spec/frontend/search/sidebar/components/confidentiality_filter_spec.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/spec/frontend/search/sidebar/components/confidentiality_filter_spec.js b/spec/frontend/search/sidebar/components/confidentiality_filter_spec.js index 1f65884e959..ef7f3359bad 100644 --- a/spec/frontend/search/sidebar/components/confidentiality_filter_spec.js +++ b/spec/frontend/search/sidebar/components/confidentiality_filter_spec.js @@ -1,7 +1,7 @@ import { shallowMount } from '@vue/test-utils'; import Vue from 'vue'; import Vuex from 'vuex'; -import ConfidentialityFilter from '~/search/sidebar/components/confidentiality_filter.vue'; +import ConfidentialityFilter from '~/search/sidebar/components/confidentiality_filter/index.vue'; import RadioFilter from '~/search/sidebar/components/radio_filter.vue'; Vue.use(Vuex); @@ -20,7 +20,6 @@ describe('ConfidentialityFilter', () => { }; const findRadioFilter = () => wrapper.findComponent(RadioFilter); - const findHR = () => wrapper.findComponent('hr'); describe('old sidebar', () => { beforeEach(() => { @@ -30,10 +29,6 @@ describe('ConfidentialityFilter', () => { it('renders the component', () => { expect(findRadioFilter().exists()).toBe(true); }); - - it('renders the divider', () => { - expect(findHR().exists()).toBe(true); - }); }); describe('new sidebar', () => { @@ -44,9 +39,5 @@ describe('ConfidentialityFilter', () => { it('renders the component', () => { expect(findRadioFilter().exists()).toBe(true); }); - - it("doesn't render the divider", () => { - expect(findHR().exists()).toBe(false); - }); }); }); |