From deb212a79679c5fe449b48f834fcc641a5d90417 Mon Sep 17 00:00:00 2001 From: Kasper Timm Hansen Date: Wed, 8 Jan 2025 23:53:06 +0100 Subject: [PATCH] Fix tests => test in README. (#97) 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 https://github.com/kaspth/oaken/issues/95 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e760c4..87d47fb 100644 --- a/README.md +++ b/README.md @@ -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