[Build] Remove unused variables from specs
...to satisfy JSHint.
This commit is contained in:
@@ -86,7 +86,7 @@ define(
|
||||
|
||||
it("filters out policy-disallowed actions", function () {
|
||||
// Disallow the second action
|
||||
mockPolicyService.allow.andCallFake(function (cat, candidate, ctxt) {
|
||||
mockPolicyService.allow.andCallFake(function (cat, candidate) {
|
||||
return candidate.someKey !== 'b';
|
||||
});
|
||||
expect(decorator.getActions(testContext))
|
||||
|
||||
@@ -90,7 +90,7 @@ define(
|
||||
|
||||
it("filters out policy-disallowed views", function () {
|
||||
// Disallow the second action
|
||||
mockPolicyService.allow.andCallFake(function (cat, candidate, ctxt) {
|
||||
mockPolicyService.allow.andCallFake(function (cat, candidate) {
|
||||
return candidate.someKey !== 'b';
|
||||
});
|
||||
expect(decorator.getViews(mockDomainObject))
|
||||
|
||||
Reference in New Issue
Block a user