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,7 +6,6 @@ describe('Challenges Controller', function() {
beforeEach(function() {
module(function($provide) {
user = specHelper.newUser();
user._id = "unique-user-id";
User = {
getBalanceInGems: sandbox.stub(),
sync: sandbox.stub(),
@@ -16,9 +15,6 @@ describe('Challenges Controller', function() {
});
inject(function($rootScope, $controller, _$state_, _Groups_, _Members_, _Notification_){
user = specHelper.newUser();
user._id = "unique-user-id";
scope = $rootScope.$new();
rootScope = $rootScope;