Commit Graph

183 Commits

Author SHA1 Message Date
Sabe Jones f6bbae3beb fix(analytics): Bad comparison
Corrects an error caught via test, where the check for intro tour completion would always fail. Also tweaks the updateUser behavior to save an explicit false if tour completion data is not found, including a test for that behavior.
2015-07-27 15:13:59 -05:00
Sabe Jones 9d7a2a1c24 feat(analytics): Party properties
Adds tracking of the user's party ID and size as user-level analytics properties.
2015-07-27 14:25:11 -05:00
Blade Barringer 7c43f87858 Add test for discard method 2015-07-24 17:30:48 -05:00
Blade Barringer 60ee0c911f Add test for edit 2015-07-24 17:30:48 -05:00
Blade Barringer 6aae668b8c Rework gem adjustment so it actually makes sense 2015-07-24 17:30:47 -05:00
Blade Barringer 68f9a78aac Write tests for creating challenges 2015-07-24 17:30:47 -05:00
Blade Barringer 099beb5e8d Add task manipulation tests for challenges 2015-07-24 17:30:46 -05:00
Blade Barringer aea1ceafe5 Move test 2015-07-24 17:30:46 -05:00
Blade Barringer 875f30bece Add tests for filtering groups 2015-07-24 17:30:46 -05:00
Blade Barringer 800c270944 Add tests for leave functions 2015-07-24 17:30:45 -05:00
Blade Barringer d3da391f6e Add challenge join test 2015-07-24 17:30:45 -05:00
Blade Barringer 12e0bda8a2 Use specHelper to create mock challenges 2015-07-24 17:30:44 -05:00
Blade Barringer 32ebc8734e Set default prize for challenge at 0 2015-07-24 17:30:44 -05:00
Blade Barringer f9cc9a87ee Add challenge factory to karma specs 2015-07-24 17:30:44 -05:00
Blade Barringer 2722116b40 Organize challenge controllers specs 2015-07-24 17:30:43 -05:00
Blade Barringer 95131f276b Add tests for save function 2015-07-24 17:30:43 -05:00
Blade Barringer 061e6dbfa5 Add test for shouldShow function 2015-07-24 17:30:39 -05:00
Blade Barringer 26b3ab1f9a Add pending tests 2015-07-24 17:30:39 -05:00
Blade Barringer 59e19d98ca Remove misplaced challenge spec 2015-07-24 17:30:38 -05:00
Blade Barringer 791e2f0c16 Add method to get user balance in gems 2015-07-24 17:30:38 -05:00
TheHollidayInn 061e381abf Updated broken test to mimic other save test 2015-07-24 17:30:37 -05:00
TheHollidayInn 79101f5eb8 Added and fixed hasEnoughGems test 2015-07-24 17:30:37 -05:00
TheHollidayInn ef9dfac087 Create new function to check for enough gems, added @crookedneighbor 's tests, and added tests to check for enoughGems when user creates a habitrpg challenge 2015-07-24 17:30:37 -05:00
TheHollidayInn fce622ddc7 Added hide and error message when a user tries to create a challenge for HabitRPG group and they have no gems 2015-07-24 17:30:36 -05:00
Blade Barringer fca6f91f13 Merge branch 'develop' into analytics-service-server-side 2015-07-24 15:19:31 -05:00
Blade Barringer 4ea5e0c71a Update newGroup spec helper 2015-07-24 14:03:44 -05:00
Blade Barringer f6bc929ddd Refacor how spec factory overrides works 2015-07-24 11:38:52 -05:00
Blade Barringer 8a363efc43 Merge branch 'develop' into TheHollidayInn-pet-actions-esc-to-cancel 2015-07-22 17:59:50 -05:00
TheHollidayInn c61eccaaba Removed if statements and fixed style issues 2015-07-22 15:38:17 -05:00
TheHollidayInn 107e27a2c6 Deselect food, egg, and potion when hitting the escape key 2015-07-21 21:52:29 -05:00
Blade Barringer 2695419182 Use better beastMaster / mountMaster counts 2015-07-19 21:51:30 -05:00
Blade Barringer 3643d11d97 Refactor pet and mount count into one method 2015-07-19 20:56:14 -05:00
Blade Barringer aee37b2a0e Swap out pet and mount count with stat calc functions 2015-07-19 20:40:15 -05:00
Blade Barringer 89bfc83b95 Organize stat functions alphabetically 2015-07-19 20:19:16 -05:00
Blade Barringer 054d884154 Merge branch 'develop' into analytics-service-server-side 2015-07-19 10:13:34 -05:00
Blade Barringer 53fb0ec8b0 Add display experience function 2015-07-18 16:00:07 -05:00
Blade Barringer f1453d30c4 Add gold display function 2015-07-18 16:00:07 -05:00
Blade Barringer 2eb62de056 Add mpdisplay function 2015-07-18 16:00:07 -05:00
Blade Barringer 17ef7e2885 Add hpDisplay function 2015-07-18 16:00:06 -05:00
Blade Barringer f9304bd28f Move stat calc scripts to angular service 2015-07-18 16:00:06 -05:00
Blade Barringer a9757c9dbb Refactor member service; Remove logic in functions that were never used 2015-07-18 16:00:03 -05:00
Sabe Jones 4a54363966 fix(quests): Show info modal for Gold quests 2015-07-15 14:02:49 -05:00
Blade Barringer 435d33724b Set test to listen on rootScope.openModal 2015-07-14 18:32:50 -05:00
Sabe Jones 5e0d754553 fix(test): Inject Content 2015-07-14 14:55:13 -05:00
Sabe Jones 79b3597693 fix(tests): Buy specific quest keys 2015-07-14 14:27:25 -05:00
Sabe Jones af5b7d4d24 fix(test): Partial tests fix 2015-07-14 14:24:11 -05:00
Sabe Jones eb3a72995c test(quests): Buy quest tests 2015-07-14 12:43:02 -05:00
Sabe Jones 0955d63998 test(quests): Fix tests 2015-07-14 11:46:13 -05:00
Sabe Jones 266b6b87e2 test(quests): Quests Service spec WIP
First test on new Quests Service. Also fix Armoire tests to account for new items.
2015-07-13 19:16:29 -05:00
Blade Barringer 0ac76cfe34 Remove mixpanel mock 2015-07-01 18:32:11 -05:00