maggieneterval / spell-store

0 stars 0 forks source link

Figure out how to authenticate agent in product routes test #104

Closed maggieneterval closed 8 years ago

maggieneterval commented 8 years ago

...and add admin authentication to the order and user put/post/delete routes. All product put/post/delete routes check for admin status, but then they fail their unit tests since the supertest agent is not an admin.

maggieneterval commented 8 years ago

Post to login beforeEach!!