FactoryGirl.define do  
  factory :category do
    
    trait :static do
      name "APPS"
    end

    trait :name do
      sequence(:name)  { |n| Faker::Commerce.product_name + "#{n}"}
    end
#    items {[FactoryGirl.create(:item)]}
  end
end

