Replace factory_girl_rails with factory_bot_rails
EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3783
What does this MR do?
Replaces factory_girl_rails
with factory_bot_rails
.
Are there points in the code the reviewer needs to double check?
I've followed the upgrade guide 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|"
Why was this MR needed?
Because the gem was updated.
Edited by Rémy Coutable