habitica/tests
Cole Gleason 2283093845 fix(ultimateGear): fix bug where ultimateGear isn't awarded
This does several things:
- Moves the calculation of the ultimateGear achievement into its own
function on user.ops.
- Only computes ultimateGear if item is last and the user does not
already have the achievement
- Fixes bug where ultimateGear was not awarded if user wasn't wearing
their class gear at the time of item purchase.
- Adds content.classes and content.gearTypes which we should start using
elsewhere.
- Added tests for ultimateGear

Fixes HabitRPG/habitrpg#2232.
2014-01-23 23:49:04 -06:00
..
simulations autoAllocate: small tweak to taskbased to make it more apparent which is kicking 2014-01-04 17:32:14 -07:00
algos.mocha.coffee fix(ultimateGear): fix bug where ultimateGear isn't awarded 2014-01-23 23:49:04 -06:00
mocha.opts start adding mocha tests, based on the old user.mocha.coffee 2013-05-24 14:28:57 +01:00