Skip to content

Add factory_bot

Robert Speicher requested to merge rs-factory-bot into master

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

Merge request reports