diff --git a/frontend/src/views/Pages/RegisterSelectCommunity.spec.js b/frontend/src/views/Pages/RegisterSelectCommunity.spec.js index ba63ca295..dbcd950b8 100644 --- a/frontend/src/views/Pages/RegisterSelectCommunity.spec.js +++ b/frontend/src/views/Pages/RegisterSelectCommunity.spec.js @@ -97,8 +97,8 @@ describe('RegisterSelectCommunity', () => { expect(apolloQueryMock).toBeCalled() }) - it('has two communities', () => { - expect(wrapper.vm.communities).toHaveLength(2) + it('shows two other communities', () => { + expect(wrapper.findAll('div.bg-secondary')).toHaveLength(2) }) it('hides the spinner', () => {