28205663e4
Fixes #6288. Previously, we used a count of all properties within the user's items.pets.mounts to determine whether or not they'd gained a new mount. That would not work as expected if they had mounts with a null or false status, such as after using the Key to the Kennels. This commit also adds some tests to the inventory controller in Angular for pet raising.
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