summaryrefslogtreecommitdiff
path: root/test/factories/conferences.rb
blob: 3c49a7ae3d9c6f0afc50090446b9a817e06f3142 (plain)
1
2
3
4
5
6
7
8
# Read about factories at http://github.com/thoughtbot/factory_girl

Factory.define :conference do |f|
  f.sequence(:name) { |n| "Conference room #{n}" }
  f.open_for_anybody true
  f.association :conferenceable, :factory => :tenant 
  f.max_members 10
end