hometown/spec/fabricators/domain_block_fabricator.rb

4 lines
109 B
Ruby
Raw Normal View History

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