[Policy] Implement view decorator
Implement policy-driven view decorator, sufficient to satisfy specs. WTD-1062.
This commit is contained in:
@@ -54,7 +54,7 @@ define(
|
||||
it("provides views from its decorated view service", function () {
|
||||
// Mock policy service allows everything by default,
|
||||
// so everything should be returned
|
||||
expect(decorator.getActions(mockDomainObject))
|
||||
expect(decorator.getViews(mockDomainObject))
|
||||
.toEqual(testViews);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user