[Time Conductor] Update failing specs

WTD-1515
This commit is contained in:
Victor Woeltjen
2015-09-16 15:23:08 -07:00
parent ad29fb0f92
commit 190f5fd0ea
3 changed files with 14 additions and 5 deletions

View File

@ -212,7 +212,12 @@ define(
});
it("indicates if a request is pending", function () {
// Placeholder; need to support requesting telemetry
mockScope.$watch.mostRecentCall.args[1](mockDomainObject);
expect(controller.isRequestPending()).toBeTruthy();
mockHandle.request.mostRecentCall.args[1](
mockDomainObject,
mockSeries
);
expect(controller.isRequestPending()).toBeFalsy();
});