chuckya/spec/fabricators/domain_block_fabricator.rb

6 lines
140 B
Ruby
Raw Normal View History

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