forked from hashicorp/vault-rails
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear up Person vs. EagerPerson when testing vault_persist_before_save!
We use `Person` in the "when not used" context because that model class has not had `vault_persist_before_save!` called on it. `EagerPerson` has and that's why we use it in the "when used" context. It'd be clearer if we could explicitly call it in the spec, but there's no clean up option to unset it so we need separate models.
- Loading branch information
Showing
1 changed file
with
23 additions
and
17 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