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

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