Add factory_bot
What does this MR do?
This codifies a method of creating testing stubs that behave somewhat like a Gitlab::ObjectifiedHash
object returned by the gitlab gem making API calls.
Previously, we had bespoke methods of creating these objects in each test file, leading to inconsistencies and duplication.
Author Check-list
-
Has documentation been updated?
Edited by Robert Speicher