From 59c7edfd90d528e0b31a6025c820236223bc879f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Fri, 8 Aug 2014 14:10:35 +0200 Subject: [PATCH] fixed unit test that broke after moving colors array --- src/test/specs/helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;