Skip to content

Commit

Permalink
Fix tests => test in README. (#97)
Browse files Browse the repository at this point in the history
It's a typo that I meant to fix a while ago, but forgot.

We do support `db/seeds/test/**` loading, but the directory should match the `Rails.env` name like `test` singular.

Ref #95
  • Loading branch information
kaspth authored Jan 8, 2025
1 parent bac0fea commit deb212a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Oaken has some chosen directory conventions to help strengthen your understandin

- Have a directory for your top-level model, like `Account`, `Team`, `Organization`, that's why we have `db/seeds/accounts` above.
- `db/seeds/data` for any data tables, like the plans a SaaS app has.
- `db/seeds/tests/cases` for any specific cases that are only used in some tests, like `pagination.rb`.
- `db/seeds/test/cases` for any specific cases that are only used in some tests, like `pagination.rb`.

### Using default attributes

Expand Down

0 comments on commit deb212a

Please sign in to comment.