diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-03-20 11:20:46 +0300 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-03-20 14:45:43 +0300 |
commit | bf41a2e7525cc952686623b508023c169dbdfe2d (patch) | |
tree | 54c40265696352d6972989dddd21d46f7c6ed9ae /spec/factories/merge_requests.rb | |
parent | 691402fb2b361ba19db3b8bdf77b75e513883423 (diff) |
Todos performance: Include associations in Finder
Diffstat (limited to 'spec/factories/merge_requests.rb')
-rw-r--r-- | spec/factories/merge_requests.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/merge_requests.rb b/spec/factories/merge_requests.rb index ae0bbbd6aeb..21487541507 100644 --- a/spec/factories/merge_requests.rb +++ b/spec/factories/merge_requests.rb @@ -4,6 +4,7 @@ FactoryGirl.define do author association :source_project, :repository, factory: :project target_project { source_project } + project { target_project } # $ git log --pretty=oneline feature..master # 5937ac0a7beb003549fc5fd26fc247adbce4a52e Add submodule from gitlab.com |