-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add feature tests for creating admin sets and collections
Extended testing for admin sets: * add feature tests for creating admin sets and collections Changes in the controller test… * specify more precisely failures redirects and flash messages * test abilities of admin set collection type managers and creators to manipulate admin sets through the controller. This extended testing confirms that abilities are sufficient to control access to admin sets. Unexpected behaviors that are fixed in this PR: * Admin sets were not copying over manager permissions. * path `/admin/admin_sets` did not forward to `/dashboard/my/collections` The behavioral changes these fixes impart were discussed in the tech call and approved by Hyrax PO.
- Loading branch information
Showing
8 changed files
with
709 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.