[Code Style] Rename shadowing variables

This commit is contained in:
Victor Woeltjen
2016-05-20 11:39:49 -07:00
parent e468080373
commit ad5691142e
56 changed files with 256 additions and 262 deletions

View File

@@ -73,16 +73,16 @@ define(
});
it("uses the instantiate service to create domain objects", function () {
var mockDomainObject = jasmine.createSpyObj('domainObject', [
var mockDomainObj = jasmine.createSpyObj('domainObject', [
'getId',
'getModel',
'getCapability',
'useCapability',
'hasCapability'
]), testModel = { someKey: "some value" };
mockInstantiate.andReturn(mockDomainObject);
mockInstantiate.andReturn(mockDomainObj);
expect(instantiation.instantiate(testModel))
.toBe(mockDomainObject);
.toBe(mockDomainObj);
expect(mockInstantiate)
.toHaveBeenCalledWith({
someKey: "some value",