4d6bd38648
An operation that is useful for tools to be able to do is to list a
user's tags without having to pull down the entire user object (which is
likely significantly larger than the tags). This commit adds a route to
GET /user/tags, to get a list of the user's tags, as well as a GET
/user/tags/{id} to get the details of a particular tag.
This commit also includes tests for the two new routes.
We need to clean up this directory. The real tests are in spec/ mock/ e2e/ and api.mocha.coffee. We want to:
- Move all old / deprecated tests from casper, test2, etc into spec, mock, e2e
- Remove dependency of api.mocha.coffee on Derby, port it to Mongoose
- Add better test-coverage