[Timeline] Update scroll position on timeout

Fixes #817
This commit is contained in:
Victor Woeltjen
2016-06-02 15:34:32 -07:00
parent 026ece3956
commit d02f4041b2
3 changed files with 14 additions and 2 deletions

View File

@@ -28,6 +28,7 @@ define(
describe("The timeline zoom state controller", function () {
var testConfiguration,
mockScope,
mockTimeout,
controller;
beforeEach(function () {
@@ -37,8 +38,10 @@ define(
};
mockScope = jasmine.createSpyObj("$scope", ['$watch']);
mockScope.commit = jasmine.createSpy('commit');
mockTimeout = jasmine.createSpy('$timeout');
controller = new TimelineZoomController(
mockScope,
mockTimeout,
testConfiguration
);
});