discourse/spec/fabricators/permalink_fabricator.rb

4 lines
77 B
Ruby

Fabricator(:permalink) do
url { sequence(:url) { |i| "my/#{i}/url" } }
end