Aim to increase spec speed by caching factories
What does this MR do?
As part of https://gitlab.com/gitlab-org/plan/-/issues/145, this reduces spec time and DB hits on the cycle analytics tests.
Does this MR meet the acceptance criteria?
Conformity
Edited by Sean Arnold