rosa-build/spec/factories/pull_request.rb

10 lines
303 B
Ruby
Raw Normal View History

2012-04-18 18:08:53 +01:00
FactoryGirl.define do
factory :pull_request do
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