diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-06-01 17:27:35 +0300 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2017-06-06 01:09:10 +0300 |
commit | 810866ecb6c7be4fdac88dc3b2a6cd9ad49ac7bf (patch) | |
tree | 20c8292a1527918b71b2c099e6c49598e65d8598 /spec/factories/forked_project_links.rb | |
parent | f07aee72bef4604312e11a43fce3a47865bce100 (diff) |
backports changed import logic from pull mirroring feature into CE
Diffstat (limited to 'spec/factories/forked_project_links.rb')
-rw-r--r-- | spec/factories/forked_project_links.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/forked_project_links.rb b/spec/factories/forked_project_links.rb index b16c1272e68..66b0f248959 100644 --- a/spec/factories/forked_project_links.rb +++ b/spec/factories/forked_project_links.rb @@ -7,5 +7,9 @@ FactoryGirl.define do link.forked_from_project.reload link.forked_to_project.reload end + + trait :forked_to_empty_project do + association :forked_to_project, factory: :empty_project + end end end |