[Events] View policy test

Created a test for the MessagesViewPolicy. #18.
This commit is contained in:
Sarah Hale 2015-06-24 10:40:03 -07:00
parent ba1f86da25
commit e7598adcee
2 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,8 @@ define(
if (domainObject.getModel().type !== 'eventGenerator') { if (domainObject.getModel().type !== 'eventGenerator') {
return false; return false;
} }
// TODO: This may later apply to more types beyond just eventGenerator.
} }
// Like all policies, allow by default. // Like all policies, allow by default.

View File

@ -3,5 +3,6 @@
"EventListController", "EventListController",
"EventListPopulator", "EventListPopulator",
"MCTDataTable", "MCTDataTable",
"MessagesViewPolicy",
"RangeColumn" "RangeColumn"
] ]