Improve test coverage for /api/v1/admin/canonical_email_blocks (#24985)

This commit is contained in:
Daniel M Brasil 2023-05-22 10:27:35 -03:00 committed by GitHub
parent 325d5f0183
commit 4a22e72b9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 292 additions and 5 deletions

View file

@ -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