Use new newUser specHelper syntax

This commit is contained in:
Blade Barringer
2015-08-15 00:08:41 -05:00
parent 53133c6439
commit 25d52bccc5
4 changed files with 15 additions and 15 deletions

View File

@@ -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) {