chinwagsocial/spec/fabricators/domain_block_fabricator.rb

6 lines
140 B
Ruby
Raw Normal View History

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