discourse/spec/fabricators/permalink_fabricator.rb

3 lines
75 B
Ruby

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