feat(description): concat bank with tickets #763

Merged
carlosjr merged 3 commits from 3260-ticket_receipt into dev 2021-10-28 11:36:30 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 21686b4a92 - Show all commits

View File

@ -27,6 +27,7 @@ describe('Client', () => {
describe('bankSelection() setter', () => {
it('should set the receipt description property', () => {
controller.originalDescription = 'Albaran: 1, 2';
controller.bankSelection = {
id: 1,
bank: 'Cash',
@ -36,7 +37,7 @@ describe('Client', () => {
}
};
expect(controller.receipt.description).toContain('Cash');
expect(controller.receipt.description).toEqual('Cash, Albaran: 1, 2');
});
});