Use build
where possible in fabricators (#25360)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:account_domain_block) do
|
||||
account
|
||||
account { Fabricate.build(:account) }
|
||||
domain 'example.com'
|
||||
end
|
||||
|
Reference in New Issue
Block a user