2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2011-12-23 10:56:46 +00:00
|
|
|
Factory.define(:issue) do |p|
|
|
|
|
p.title { Factory.next(:string) }
|
|
|
|
p.body { Factory.next(:string) }
|
2011-12-29 11:16:54 +00:00
|
|
|
p.association :project, :factory => :project
|
2011-12-23 10:56:46 +00:00
|
|
|
p.association :user, :factory => :user
|
|
|
|
p.status "open"
|
|
|
|
end
|