diff options
author | Rémy Coutable <remy@rymai.me> | 2017-05-10 17:19:48 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-05-18 13:04:50 +0200 |
commit | 628cc84891228895daa19d7b1300fc032cb26910 (patch) | |
tree | 09a4017fb8d14cbbeeaa970357f0d2bb46aea5d6 /spec/factories | |
parent | a67bb1f0ede51acab88dc3a11928a6d07bd189e7 (diff) | |
download | gitlab-ce-628cc84891228895daa19d7b1300fc032cb26910.tar.gz |
Factorize TestEvent#copy_repo
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/projects.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb index 3580752a805..357ea6b3f7f 100644 --- a/spec/factories/projects.rb +++ b/spec/factories/projects.rb @@ -172,7 +172,7 @@ FactoryGirl.define do path { 'forked-gitlabhq' } after :create do |project| - TestEnv.copy_forked_repo_with_submodules(project) + TestEnv.copy_repo(project, copy_fork: true) end end |