glitch-soc/spec/fabricators/domain_block_fabricator.rb

6 lines
140 B
Ruby

# frozen_string_literal: true
Fabricator(:domain_block) do
domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
end