mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Use new newUser specHelper syntax
This commit is contained in:
@@ -6,9 +6,10 @@ describe('Analytics Service', function () {
|
||||
beforeEach(function() {
|
||||
clock = sandbox.useFakeTimers();
|
||||
sandbox.stub(window, 'refresher', function(){return true});
|
||||
user = specHelper.newUser();
|
||||
user.contributor = {};
|
||||
user.purchased = { plan: {} };
|
||||
user = specHelper.newUser({
|
||||
contributor: {},
|
||||
purchased: { plan: {} },
|
||||
});
|
||||
user.flags.tour = { intro: null };
|
||||
|
||||
module(function($provide) {
|
||||
|
||||
Reference in New Issue
Block a user