added balance to analytics (#8086)

* added balance to analytics

* removed if check
This commit is contained in:
Dumindu Buddhika
2016-09-30 22:22:14 +05:30
committed by Blade Barringer
parent 3c7f71d214
commit ed880a665a
4 changed files with 12 additions and 1 deletions

View File

@@ -277,6 +277,7 @@ describe('analyticsService', () => {
dailys: [{_id: 'daily'}],
todos: [{_id: 'todo'}],
rewards: [{_id: 'reward'}],
balance: 12,
};
data.user = user;
@@ -300,6 +301,7 @@ describe('analyticsService', () => {
},
contributorLevel: 1,
subscription: 'foo-plan',
balance: 12,
},
});
});