Add gear owned to spec helper

This commit is contained in:
Blade Barringer
2015-06-05 08:59:02 -05:00
parent 95bb5be22a
commit 8f744b043a
2 changed files with 7 additions and 3 deletions

View File

@@ -10,8 +10,12 @@ describe('Inventory Controller', function() {
inject(function($rootScope, $controller, Shared){
user = specHelper.newUser();
user.balance = 4,
user.items = {eggs: {Cactus: 1}, hatchingPotions: {Base: 1}, food: {Meat: 1}, pets: {}, mounts: {}};
user.balance = 4;
user.items.eggs = {Cactus: 1};
user.items.hatchingPotions = {Base: 1};
user.items.food = {Meat: 1};
user.items.pets = {}
user.items.mounts = {};
Shared.wrap(user);
var mockWindow = {
confirm: function(msg){

View File

@@ -13,7 +13,7 @@ specHelper = {
food: {},
pets: {},
mounts: {},
gear: {equipped: {}, costume: {}},
gear: {equipped: {}, costume: {}, owned: {}},
},
party: {
quest: {