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

FactoryGirl.define do
  factory :phone_book do
    sequence(:name) { |n| "Phone book #{n}" }
    association :phone_bookable, :factory => :user 
  end
end