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

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