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

Factory.define :phone_book_entry do |f|
  f.sequence(:last_name) { |n| "Lastname #{n}" }
  f.sequence(:is_male) { |n| true }
  f.association :phone_book
end