Refactor spec/factories/users.rb to allow EE to extend it
What does this MR do?
CE backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9557.
Part of https://gitlab.com/gitlab-org/gitlab-ee/issues/9506.
Does this MR meet the acceptance criteria?
-
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Security reports checked/validated by reviewer