2012-04-18 18:08:53 +01:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :pull_request do
|
2014-10-20 20:18:34 +01:00
|
|
|
association :issue, factory: :issue
|
|
|
|
association :from_project, factory: :project
|
|
|
|
association :to_project, factory: :project
|
|
|
|
from_ref { FactoryGirl.generate(:string) }
|
|
|
|
to_ref { FactoryGirl.generate(:string) }
|
2012-04-18 18:08:53 +01:00
|
|
|
end
|
|
|
|
end
|