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

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