Add hasCapability to mock

This commit is contained in:
Pete Richards 2017-02-21 18:01:43 -08:00
parent 5c01f0be24
commit 40985a56c8

View File

@ -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");