diff --git a/README.md b/README.md index e7c2b3f..dba98af 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ It is possible to use this setting to share factories from a gem: ```rb class MyEngine < ::Rails::Engine config.factory_bot.definition_file_paths = - File.expand_path('../factories, __FILE__) if defined?(FactoryBotRails) + File.expand_path('../factories', __FILE__) if defined?(FactoryBotRails) end ```