discourse/spec/fabricators/category_fabricator.rb

6 lines
96 B
Ruby

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