This guides you through adding the test data fixture utility factory_bot to your Ruby on Rails RSpec project.
To install factory_bot you will need to...
- Add the factory_bot_rails gem to your Rails RSpec project
- Configure factory_bot_rails to be used by RSpec Rails
🙇 📖 I originally learned this from these posts...