twilson63/express-couchUser — pull request #25 by JoelV (2014-05-05 14:41:55+00:00)
Title: userSpec Tests

- POST /api/user/:name
- fixed trying to sendback response from database as full user doc when respone from the database has only has id, rev. Just renamed updatedUser to data.

- took out log.warn calls, causing app to crash, because log is not defined. I just replaced them with console.log calls.

- PUT /api/user/:name
- fix non-admin user being able to change their role.

- finished user api tests (userSpec.js)
- added grunt task for running mocha tests
- updated readme in test directory