[Telemetry] Update specs

Update specs to reflect changes for WTD-1329.
This commit is contained in:
Victor Woeltjen
2015-06-24 13:17:42 -07:00
parent bcfe80fbdc
commit 360c3fcf15
2 changed files with 14 additions and 3 deletions

View File

@ -191,7 +191,8 @@ define(
}
function addMutationListener() {
var mutation = domainObject.getCapability('mutation');
var mutation = domainObject &&
domainObject.getCapability('mutation');
if (mutation) {
return mutation.listen(modelChange);
}