-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raise when
seed
finds no files. (#99)
* Raise when `seed` finds no files. Ref #95 In case users pass a typo'ed name/path to `seed` we won't give them any indication of what's going on. Running a test fails silently. Now we raise when we can't find any files. * Split glob per path pattern In case a user does `seed :accounts, :missing` we want to raise when we can't load from `:missing`. Previously, we'd proceed silently because `:accounts` found files.
- Loading branch information
Showing
3 changed files
with
27 additions
and
13 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