[Timeline] Add minimal test case

This commit is contained in:
Victor Woeltjen 2016-05-25 11:27:16 -07:00
parent 70b593e28a
commit 0a75a5be1f

View File

@ -141,6 +141,13 @@ define(
expect(mockScope.scroll.y).toEqual(0); expect(mockScope.scroll.y).toEqual(0);
}); });
it("watches for a configuration object", function () {
expect(mockScope.$watch).toHaveBeenCalledWith(
"configuration",
jasmine.any(Function)
);
});
it("repopulates when modifications are made", function () { it("repopulates when modifications are made", function () {
var fnWatchCall, var fnWatchCall,
strWatchCall; strWatchCall;