diff --git a/client/client/src/descriptor/descriptor.spec.js b/client/client/src/descriptor/descriptor.spec.js index a5139298f..19e2d2c7c 100644 --- a/client/client/src/descriptor/descriptor.spec.js +++ b/client/client/src/descriptor/descriptor.spec.js @@ -17,7 +17,7 @@ describe('Descriptor', () => { })); describe('_getClientDebt()', () => { - it(`should call _getClientDebt() and define the client.debt value on the controller`, () => { + it(`should call _getClientDebt() and define the clientDebt value on the controller`, () => { controller.client = {}; let response = {debt: 100}; $httpBackend.whenGET(`/client/api/Clients/101/getDebt`).respond(response); @@ -25,7 +25,7 @@ describe('Descriptor', () => { controller._getClientDebt(101); $httpBackend.flush(); - expect(controller.client.debt).toEqual(100); + expect(controller.clientDebt).toEqual(100); }); });