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

FactoryGirl.define do
  factory :tenant do
    sequence(:name) { |n| "Tenant #{n}" }
    association :country
    association :language
  end
end