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

Factory.define :phone_model do |f|
  f.sequence(:name) { |n| "Phone Model #{n}" }
  f.association :manufacturer
end