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

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