Open melissamcewen opened 6 years ago
I believe the instructions wanted me to have two separate tests. The message should be updated on one of them but I assumed the reason for this was you could more easily tell what part of the test was broken. I think in practice I would merge the two.
https://github.com/ProgrammingJoe/Codecademy-TDD-GatherSubmission/blob/master/test/routes/create-test.js#L52-L62 I noticed you have two tests for
posts a new item and creates it in the database