diff --git a/modules/claim/front/action/index.spec.js b/modules/claim/front/action/index.spec.js index 9842bf646..0823b19ef 100644 --- a/modules/claim/front/action/index.spec.js +++ b/modules/claim/front/action/index.spec.js @@ -161,11 +161,13 @@ describe('claim', () => { describe('onUpdateGreugeResponse()', () => { it('should do nothing', () => { + spyOn(controller.$http, 'post'); spyOn(controller.card, 'reload'); spyOn(controller.vnApp, 'showSuccess'); controller.onUpdateGreugeResponse('CANCEL'); + expect(controller.$http.post).not.toHaveBeenCalledWith(); expect(controller.card.reload).not.toHaveBeenCalledWith(); expect(controller.vnApp.showSuccess).not.toHaveBeenCalledWith('Greuge inserted!'); });