Improve test coverage for /api/v1/admin/canonical_email_blocks
(#24985)
This commit is contained in:
parent
325d5f0183
commit
4a22e72b9b
2 changed files with 292 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:canonical_email_block) do
|
||||
email 'test@example.com'
|
||||
email { sequence(:email) { |i| "#{i}#{Faker::Internet.email}" } }
|
||||
reference_account { Fabricate(:account) }
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue