catstodon/spec/fabricators/domain_block_fabricator.rb

4 lines
109 B
Ruby
Raw Normal View History

2016-10-09 14:48:43 +02:00
Fabricator(:domain_block) do
domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
2016-10-09 14:48:43 +02:00
end