Replace factory_girl_rails with factory_bot_rails
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands:
```
grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|"
grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|"
```
Signed-off-by: Rémy Coutable <remy@rymai.me>
Showing
... | ... | @@ -311,7 +311,7 @@ group :development, :test do |
gem 'fuubar', '~> 2.2.0' | ||
gem 'database_cleaner', '~> 1.5.0' | ||
gem 'factory_girl_rails', '~> 4.7.0' | ||
gem 'factory_bot_rails', '~> 4.8.2' | ||
gem 'rspec-rails', '~> 3.6.0' | ||
gem 'rspec-retry', '~> 0.4.5' | ||
gem 'spinach-rails', '~> 0.2.1' | ||
... | ... |
Please
register
or
sign in
to comment