diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-01-25 22:52:12 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-01-25 22:52:12 +0300 |
commit | c1743ba4c4d838e95bed0d3e74e48a191684c4bf (patch) | |
tree | 761bfee8ecda4b6de1f3c42ab049885d2065c25f /spec/factories/merge_requests.rb | |
parent | d0315d5393426bffa6f4e3b84c22d3ef6b0dd54f (diff) |
Use a project factory with a repository where necessary
Diffstat (limited to 'spec/factories/merge_requests.rb')
-rw-r--r-- | spec/factories/merge_requests.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/factories/merge_requests.rb b/spec/factories/merge_requests.rb index 37eb49c94df..22f84150bb3 100644 --- a/spec/factories/merge_requests.rb +++ b/spec/factories/merge_requests.rb @@ -2,7 +2,7 @@ FactoryGirl.define do factory :merge_request do title author - source_project factory: :project + association :source_project, :repository, factory: :project target_project { source_project } # $ git log --pretty=oneline feature..master |