Configure directory for generated factories
This commit is contained in:
parent
f45c5bbe8b
commit
3abf35dd0a
1 changed files with 4 additions and 0 deletions
|
@ -38,5 +38,9 @@ module Partynest
|
||||||
|
|
||||||
# Don't generate system test files.
|
# Don't generate system test files.
|
||||||
config.generators.system_tests = nil
|
config.generators.system_tests = nil
|
||||||
|
|
||||||
|
config.generators do |g|
|
||||||
|
g.factory_bot dir: 'factories'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Reference in a new issue