Developer documentation: custom_repo trait
A useful thing: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/factories/projects.rb#L117
A usage example: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/spec/lib/gitlab/tree_summary_spec.rb#L49
I should get it into doc/development somewhere.