about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>2017-06-26 04:42:36 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-25 21:42:36 +0200
commit8f991831b8de01b69d6b0f069aa43d9326c93a1d (patch)
treeb7a8a0663b593ba5e736833aa8e46308f9edf686 /spec/fabricators
parent87efa3872193084468c25f410f5cf9189c0b976e (diff)
Cover Admin::DomainBlocksController more (#3329)
Also domain_block fabricator now sets unique domains
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/domain_block_fabricator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fabricators/domain_block_fabricator.rb b/spec/fabricators/domain_block_fabricator.rb
index 563a0f65b..cc1f928e5 100644
--- a/spec/fabricators/domain_block_fabricator.rb
+++ b/spec/fabricators/domain_block_fabricator.rb
@@ -1,3 +1,3 @@
 Fabricator(:domain_block) do
-  domain "example.com"
+  domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
 end