Closed leesharma closed 7 years ago
We have a gem name change! The gem previously known as factory_girl_rails is now called factory_bot_rails (link).
factory_girl_rails
factory_bot_rails
This issue is to update to the new gem. Stealing from an in-progress change to their README:
Transitioning is a two step process: Replace factory_girl_rails with factory_bot_rails in your Gemfile and bundle install Rename all FactoryGirl to FactoryBot and factory_girl to factory_bot in your codebase. This command will perform a FactoryGirl to FactoryBot rename within your spec/ directory: ag -0l FactoryGirl spec | xargs -0 sed -i 's/FactoryGirl/FactoryBot/g'
Transitioning is a two step process:
bundle install
FactoryGirl
FactoryBot
factory_girl
factory_bot
This command will perform a FactoryGirl to FactoryBot rename within your spec/ directory:
ag -0l FactoryGirl spec | xargs -0 sed -i 's/FactoryGirl/FactoryBot/g'
I will do it.
@K4sku Thanks for the offer, but it looks like we already had a PR for this one. I'll be adding more issues periodically though (+ freeing up some stagnating ones); stay tuned! 🙂
We have a gem name change! The gem previously known as
factory_girl_rails
is now calledfactory_bot_rails
(link).This issue is to update to the new gem. Stealing from an in-progress change to their README: