Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
node tests: Split draft_model for add/edit/delete cases.
This splits the one big `run_test` block into add/edit/delete parts, for better clarity. This also removes the `with_field` calls and uses the override style instead, which is preferred because it makes sure the stubbed function is actually called.
- Loading branch information
1 parent
8cc0b43
commit 674a5fe
Showing
1 changed file
with
41 additions
and
47 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