Closed ywwg closed 5 years ago
What kind of issues do you foresee in the migration? Or what should I look out for?
btw this message appears when I run rake to check my tests.
It looks like the way the factory objects are constructed has changed between factorygirl and factorybot. I tried just search-and-replacing all instances of "girl" to "bot" and it threw an error.
instructions: "DEPRECATION WARNING: The factory_girl gem is deprecated. Please upgrade to factory_bot. See https://github.com/thoughtbot/factory_bot/blob/v4.9.0/UPGRADE_FROM_FACTORY_GIRL.md for further instructions."
This was also quite tricky! The syntax changed in a way that was hard to figure out
FactoryGirl has been deprecated in favor of FactoryBot. The migration is not trivial, though, so it requires more work than just search-and-replace