Bug #313 Modified tests
This commit is contained in:
parent
6f45a8fa5b
commit
73104c4465
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue