rosa-build/spec/factories/product_factory.rb

8 lines
173 B
Ruby

# -*- encoding : utf-8 -*-
FactoryGirl.define do
factory :product do
name { FactoryGirl.generate(:string) }
association :platform, :factory => :platform
end
end