5 lines
153 B
Ruby
5 lines
153 B
Ruby
|
Factory.define(:project) do |p|
|
||
|
p.name { Factory.next(:string) }
|
||
|
p.unixname { Factory.next(:unixname) }
|
||
|
p.association :owner, :factory => :user
|
||
|
end
|