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,8 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Fabricator(:poll) do
|
||||
account
|
||||
status
|
||||
account { Fabricate.build(:account) }
|
||||
status { Fabricate.build(:status) }
|
||||
expires_at { 7.days.from_now }
|
||||
options %w(Foo Bar)
|
||||
multiple false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue