fixed unit test that broke after moving colors array

This commit is contained in:
Torkel Ödegaard 2014-08-08 14:10:35 +02:00
parent 660fbfd73c
commit 59c7edfd90

View File

@ -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;