nyastodon/spec/fabricators/domain_block_fabricator.rb

6 lines
140 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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