mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Use rootScope as variable
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
describe("Party Controller", function() {
|
||||
var scope, ctrl, user, User, groups, $rootScope, $controller;
|
||||
var scope, ctrl, user, User, groups, rootScope, $controller;
|
||||
|
||||
beforeEach(function() {
|
||||
user = specHelper.newUser(),
|
||||
@@ -17,7 +17,7 @@ describe("Party Controller", function() {
|
||||
|
||||
inject(function(_$rootScope_, _$controller_, Groups){
|
||||
|
||||
$rootScope = _$rootScope_;
|
||||
rootScope = _$rootScope_;
|
||||
|
||||
scope = _$rootScope_.$new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user