Draft: Remove ability of using RSpec mocks in factories
What does this MR do and why?
Remove ability of using RSpec mocks in factories
It's discouraged since !70248 (merged).
Use stub_method
instead.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Peter Leitzen