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

Factory.define :area_code do |f|
  f.sequence(:name) { |n| "AreaCode #{n}" }
  f.sequence(:area_code) { |n| "#{n}" }
  f.association :country
end