[Tree] Fix error in test case

Correctly expect both arguments to $watch
This commit is contained in:
Victor Woeltjen
2016-03-14 15:04:50 -07:00
parent d522570c0b
commit 55ae755522

View File

@ -77,7 +77,10 @@ define([
}); });
it("watches for changes to mct-object", function () { it("watches for changes to mct-object", function () {
expect(mockScope.$watch).toHaveBeenCalledWith("mctObject"); expect(mockScope.$watch).toHaveBeenCalledWith(
"mctObject",
jasmine.any(Function)
);
}); });
it("listens for the $destroy event", function () { it("listens for the $destroy event", function () {