-
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.
use Valkryie for all test setup in edit_permissions_service_spec (#6172)
* refactor edit_permissions_service_spec to make tests more explicit * don't stub basic model layer behavior in this is a model heavy test, and yes, the setup is slow, but that's a code smell we shouldn't be hiding with convoluted test setup. * use Valkryie for all test setup in edit_permissions_service_spec makes this test compatible with Valkyrie by refactoring out ActiveFedora based factories. the methodology i used here is to: - stand up dassie; - refactor for tidiness/to remove AF based mocks; - rewrite with Valkyrie factories; - test on dassie; - test on koppie --------- Co-authored-by: Trey Pendragon <tpendragon@princeton.edu>
- Loading branch information
1 parent
168c3da
commit 302e037
Showing
1 changed file
with
82 additions
and
69 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