diff --git a/test/mocks.js b/test/mocks.js index 4d2d5af..7b81cd4 100644 --- a/test/mocks.js +++ b/test/mocks.js @@ -50,8 +50,8 @@ describe('vegetable api - mocks', function() { }); describe('when DELETE /vegetable/:name is requested', function() { - it('should respond with 500 and if databaseMock.getVegetables throws an error', function() { + it('should respond with 500 and if databaseMock.deleteVegetable throws an error', function() { }); }); -}); \ No newline at end of file +});