From e1db173185a87910a3dcb0626ee6fa1b145e0ef8 Mon Sep 17 00:00:00 2001 From: Jorge Padawan Date: Mon, 1 Feb 2021 13:29:12 +0100 Subject: [PATCH] Changed scope days value to a correct sentence --- modules/travel/front/main/index.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/travel/front/main/index.spec.js b/modules/travel/front/main/index.spec.js index ad995cebd..ae15d915e 100644 --- a/modules/travel/front/main/index.spec.js +++ b/modules/travel/front/main/index.spec.js @@ -49,13 +49,13 @@ describe('Travel Component vnTravel', () => { expect(params.scopeDays).toEqual(2); }); - it('should throw an error when scope days has a string value', () => { + it('should throw an error when scope days is not equal a number', () => { let params = controller.fetchParams({ - scopeDays: 'prueba' + scopeDays: 'ScopeDayNoNumber' }); if (typeof params.scopeDays !== 'number') - expect(params.scopeDays).toBe('prueba'); + expect(params.scopeDays).toBe('ScopeDayNoNumber'); }); }); });