discourse/spec/fabricators/category_fabricator.rb

5 lines
95 B
Ruby

Fabricator(:category) do
name { sequence(:name) { |n| "Amazing Category #{n}" } }
user
end