rosa-build/spec/factories/issues.rb

12 lines
316 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :issue do
title { FactoryGirl.generate(:string) }
body { FactoryGirl.generate(:string) }
association :project, :factory => :project
association :user, :factory => :user
association :creator, :factory => :user
status "open"
end
end