mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Use fabrication sequence in domain values (#29895)
This commit is contained in:
parent
96bdeeed0e
commit
576554b19b
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Fabricator(:preview_card_provider) do
|
Fabricator(:preview_card_provider) do
|
||||||
domain { Faker::Internet.domain_name }
|
domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Fabricator(:unavailable_domain) do
|
Fabricator(:unavailable_domain) do
|
||||||
domain { Faker::Internet.domain_name }
|
domain { sequence(:domain) { |i| "#{i}#{Faker::Internet.domain_name}" } }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue