Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix factorybot failures after bump to v5
The default value for `FactoryBot.use_parent_strategy` changed from `false` to `true` at [v5.0.0](thoughtbot/factory_bot_rails#314) This caused some validation errors in role creation in tests because the attached role assignments weren't created correctly due to the new FactoryBot configuration. We could set `FactoryBot.use_parent_strategy = false`, but I think it's better to update the factories themselves.
- Loading branch information