thoughtbot / factory_bot_rails

Factory Bot ♥ Rails
https://thoughtbot.com/services/ruby-on-rails
MIT License
3.07k stars 369 forks source link

Fix README #442

Closed obregonia1 closed 10 months ago

obregonia1 commented 10 months ago

I removed config/application.rb from the file where the configuration is written.

https://github.com/thoughtbot/factory_bot_rails/blob/main/README.md?plain=1#L33-L35

As noted above, since this gem is not for production use, I thought it appropriate to place it in config/environments/test.rb. Writing the configuration in config/application.rb would cause the application to crash.