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

Factory.define :oui do |f|
  f.association :manufacturer
  f.sequence(:value) { |n| (n + 11184810).to_s(16).upcase }
end