rosa-build/spec/factories/issues.rb

9 lines
238 B
Ruby

# -*- encoding : utf-8 -*-
Factory.define(:issue) do |p|
p.title { Factory.next(:string) }
p.body { Factory.next(:string) }
p.association :project, :factory => :project
p.association :user, :factory => :user
p.status "open"
end