Skip to content

Commit

Permalink
Update README section about generator template
Browse files Browse the repository at this point in the history
The correct path use the generator name which isn't pluralized.
  • Loading branch information
budu authored and composerinteralia committed Jan 21, 2019
1 parent f91bcf2 commit 3c300ec
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 @@ -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
Expand Down

0 comments on commit 3c300ec

Please sign in to comment.