[Entanglement] Separate out location
Separate out location property from the CreationService, instead handle in the entanglement bundle; this is consistent with changes for identity management (attaching a creator to newly-created domain object models). for nasa/openmctweb#92
This commit is contained in:
@@ -201,16 +201,6 @@ define(
|
||||
expect(mockLog.error).toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it("stores location on new domainObjects", function () {
|
||||
var model = { name: "my model" },
|
||||
objectPromise = creationService.createObject(
|
||||
model,
|
||||
mockParentObject
|
||||
);
|
||||
|
||||
expect(model.location).toBe('parentId');
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user