Merge pull request #1450 from nasa/fix-table-tests

Add hasCapability to mock
This commit is contained in:
Andrew Henry 2017-02-21 18:14:18 -08:00 committed by GitHub
commit c74fdb816f

View File

@ -66,7 +66,8 @@ define(
mockDomainObject = jasmine.createSpyObj("domainObject", [
"getModel",
"getId",
"useCapability"
"useCapability",
"hasCapability"
]);
mockDomainObject.getModel.andReturn({});
mockDomainObject.getId.andReturn("mockId");