|
@@ -192,11 +192,11 @@ describe('isManagerProduct()', () => {
|
|
|
|
|
|
|
|
describe('isOrganizationWithChildren()', () => {
|
|
describe('isOrganizationWithChildren()', () => {
|
|
|
it('should return false if the organization dont have children', () => {
|
|
it('should return false if the organization dont have children', () => {
|
|
|
- expect(organizationProfile.isOrganizationWithChildren()).toBeFalsy()
|
|
|
|
|
|
|
+ expect(organizationProfile.hasChildren()).toBeFalsy()
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
it('should return true if the organization have children', () => {
|
|
it('should return true if the organization have children', () => {
|
|
|
store.commit('organization/setHasChildren', true)
|
|
store.commit('organization/setHasChildren', true)
|
|
|
- expect(organizationProfile.isOrganizationWithChildren()).toBeTruthy()
|
|
|
|
|
|
|
+ expect(organizationProfile.hasChildren()).toBeTruthy()
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|