colleenpurcell12 / CareFull

Grace Shopper for care packages
4 stars 3 forks source link

Product route test spec bug #24

Closed colleenpurcell12 closed 7 years ago

colleenpurcell12 commented 7 years ago

the get one and delete one create new products that make the get all spec mad about the array of products being too long

pseuyi commented 7 years ago

check line 33 semicolon

product.Creates for product one and product two are messing up get all request test

colleenpurcell12 commented 7 years ago

Fixed if you change the get all products test to : expect(res.body.length).to.be.at.least(products.length)