[Build] Remove unused variables from specs

...to satisfy JSHint.
This commit is contained in:
Victor Woeltjen
2016-03-04 12:56:14 -08:00
parent e470451718
commit d6ec7e9ab8
48 changed files with 50 additions and 142 deletions

View File

@@ -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))

View File

@@ -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))