Resolve more Rubocop offenses for ExcessiveCreateList Cop
Context
Related to #416899 (closed)
What does this MR do and why?
Resolve some more Rubocop offenses related to creating too many factory objects in RSpec.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by David Dieulivol