[Time Conductor] Bounds updated when date selected from date selector. Fixes #1018

This commit is contained in:
Andrew Henry
2016-06-24 21:30:03 -07:00
parent 8bdf1e3072
commit 2339560363
3 changed files with 26 additions and 13 deletions

View File

@@ -33,6 +33,7 @@ define(
var mockScope,
mockFormatService,
testDefaultFormat,
mockTimeout,
mockNow,
mockFormat,
controller;
@@ -54,6 +55,10 @@ define(
}
beforeEach(function () {
mockTimeout = function (fn) {
return fn();
};
mockScope = jasmine.createSpyObj(
"$scope",
["$apply", "$watch", "$watchCollection"]
@@ -78,6 +83,7 @@ define(
controller = new TimeRangeController(
mockScope,
mockTimeout,
mockFormatService,
testDefaultFormat,
mockNow