rosa-build/spec/factories/pull_request.rb

11 lines
306 B
Ruby
Raw Normal View History

2012-04-18 18:08:53 +01:00
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :pull_request do
title { FactoryGirl.generate(:string) }
body { FactoryGirl.generate(:string) }
association :project, :factory => :project
association :user, :factory => :user
association :assignee, :factory => :user
end
end