omg I got it

evaluator.with_categories.times do
        topic.categories << create(:category)
      end

factory :category do
    sequence(:name) { |n| "category#{n}" }
    sequence(:description) { |n| "Category #{n}" }
end