[Plots] #638 Fixed failing test

This commit is contained in:
Henry 2016-02-23 15:22:21 -08:00
parent fcdf89a4ee
commit aabeb72203
2 changed files with 3 additions and 3 deletions

View File

@ -116,8 +116,6 @@ define(
this.clearSeriesWatches();
console.log("watches before: " + this.watches.length);
(self.$scope.children || []).forEach(function(child, index){
self.watches.push(
self.$scope.$watchCollection(
@ -128,7 +126,6 @@ define(
)
);
});
console.log("watches after: " + self.watches.length);
};
/**

View File

@ -94,6 +94,9 @@ define(
]);
mockScope.domainObject = mockDomainObject;
function noop() {}
mockScope.$watchCollection.andReturn(noop);
plotOptionsController = new PlotOptionsController(mockScope);
});