From 3c300ecf881f4519180bb6b3c1a17a65b08a6791 Mon Sep 17 00:00:00 2001 From: Nicolas Buduroi Date: Sun, 20 Jan 2019 19:27:25 -0500 Subject: [PATCH] Update README section about generator template The correct path use the generator name which isn't pluralized. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2626322..c3c425c 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ end ``` To override the [default factory template][], define your own template in -`lib/templates/factory_bot/models/factories.erb`. This template will have +`lib/templates/factory_bot/model/factories.erb`. This template will have access to any methods available in `FactoryBot::Generators::ModelGenerator`. Note that factory\_bot\_rails will only use this custom template if you are generating each factory in a separate file; it will have no effect if you are