From 44401376d15428780fcbeb1529c0297f4d98b56b Mon Sep 17 00:00:00 2001 From: Alpiona Date: Mon, 6 Jul 2020 16:25:39 -0300 Subject: [PATCH] fix wrong title in duplicated product test --- src/__tests__/App.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/__tests__/App.spec.ts b/src/__tests__/App.spec.ts index 071a189..be0162b 100644 --- a/src/__tests__/App.spec.ts +++ b/src/__tests__/App.spec.ts @@ -87,7 +87,7 @@ describe('App', () => { ); }); - it('should not be able to create a customer with one e-mail thats already registered', async () => { + it('should not be able to create a duplicated product', async () => { const product = await request(app).post('/products').send({ name: 'Produto 01', price: 500,