[Entanglement] Update specs
Update specs for move/copy/link services to account for re-validation at time an action is performed. nasa/openmctweb#98
This commit is contained in:
@@ -41,6 +41,7 @@ define(
|
||||
'policyService',
|
||||
['allow']
|
||||
);
|
||||
mockPolicyService.allow.andReturn(true);
|
||||
linkService = new LinkService(mockPolicyService);
|
||||
});
|
||||
|
||||
@@ -66,7 +67,6 @@ define(
|
||||
validate = function () {
|
||||
return linkService.validate(object, parentCandidate);
|
||||
};
|
||||
mockPolicyService.allow.andReturn(true);
|
||||
});
|
||||
|
||||
it("does not allow invalid parentCandidate", function () {
|
||||
|
||||
Reference in New Issue
Block a user