Use build
where possible in fabricators (#25360)
This commit is contained in:
parent
c94bb9ba9a
commit
3a2a15c6ea
41 changed files with 58 additions and 58 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:report_note) do
|
||||
report
|
||||
account { Fabricate(:account) }
|
||||
report { Fabricate.build(:report) }
|
||||
account { Fabricate.build(:account) }
|
||||
content 'Test Content'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue