Add hasCapability to mock
This commit is contained in:
@@ -66,7 +66,8 @@ define(
|
|||||||
mockDomainObject = jasmine.createSpyObj("domainObject", [
|
mockDomainObject = jasmine.createSpyObj("domainObject", [
|
||||||
"getModel",
|
"getModel",
|
||||||
"getId",
|
"getId",
|
||||||
"useCapability"
|
"useCapability",
|
||||||
|
"hasCapability"
|
||||||
]);
|
]);
|
||||||
mockDomainObject.getModel.andReturn({});
|
mockDomainObject.getModel.andReturn({});
|
||||||
mockDomainObject.getId.andReturn("mockId");
|
mockDomainObject.getId.andReturn("mockId");
|
||||||
|
|||||||
Reference in New Issue
Block a user