Closed obregonia1 closed 10 months ago
I removed config/application.rb from the file where the configuration is written.
config/application.rb
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.
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.