Bug #313 Modified tests

This commit is contained in:
gerard 2018-05-21 12:03:36 +02:00
parent 6f45a8fa5b
commit 73104c4465
1 changed files with 2 additions and 2 deletions

View File

@ -65,9 +65,9 @@ describe('Client', () => {
});
});
describe('returnDialog()', () => {
it('should call addCredit() when is called with a param disctint from CANCEL', () => {
it('should call addCredit() when is called with ACCEPT', () => {
spyOn(controller, 'addCredit');
controller.returnDialog('Manzano');
controller.returnDialog('ACCEPT');
expect(controller.addCredit).toHaveBeenCalledWith();
});