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