Upgrade factory_girl to factory_bot

Description

Upkeep for our test suite, from :

  • Replace all uses of static attributes in factories with dynamic attributes, required for v4.11.0 onwards.

  • Install the gem factory_bot instead of its now-deprecated predecessor factory_girl.

  • Update the pickle gem, since otherwise creating users in cucumber features breaks.

  • Update the bundled major version of factory_bot to 5.x.

How to test: none, automated.

Environment

None

Status

Assignee

enigel lj

Reporter

redsummernight

Roadmap

Misc

Priority

Medium

Affects versions

0.9.252

Fix versions

Components

AutomatedTests

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9