diff --git a/src/test/specs/helpers.js b/src/test/specs/helpers.js index 189cfb692d0..5ca005adcad 100644 --- a/src/test/specs/helpers.js +++ b/src/test/specs/helpers.js @@ -37,8 +37,8 @@ define([ } }; - self.scope.colors = []; - for (var i = 0; i < 50; i++) { self.scope.colors.push('#' + i); } + $rootScope.colors = []; + for (var i = 0; i < 50; i++) { $rootScope.colors.push('#' + i); } self.$q = $q; self.scope.skipDataOnInit = true;