[Edit] Add tests for updated capabilities

Add tests for capabilities which have been updated to work
when only a model (and not whole objects) are cached; that
change was introduced to prevent misbehavior of the Remove
action in Edit mode, WTD-473.
This commit is contained in:
Victor Woeltjen
2015-01-27 12:18:28 -08:00
parent 3135174491
commit be34e7fa9a
7 changed files with 190 additions and 46 deletions

View File

@ -89,7 +89,7 @@ define(
}
// Wrap all methods; return only editable domain objects.
Object.keys(contextCapability).forEach(wrapFunction);
Object.keys(contextCapability).forEach(wrapMethod);
return capability;
};