ProgrammingJoe / Codecademy-TDD-GatherSubmission

0 stars 0 forks source link

Error: Duplicate test #4

Open melissamcewen opened 6 years ago

melissamcewen commented 6 years ago

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

ProgrammingJoe commented 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.