discourse/spec/fabricators/theme_fabricator.rb

5 lines
90 B
Ruby

Fabricator(:theme) do
name { sequence(:name) { |i| "Cool theme #{i + 1}" } }
user
end