Remove follow
creation from ListAccount
fabricator (#31902)
This commit is contained in:
parent
474abf3c7f
commit
c54cbf7943
2 changed files with 7 additions and 7 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
Fabricator(:list_account) do
|
||||
list
|
||||
account
|
||||
before_create { |list_account, _| list_account.list.account.follow!(account) }
|
||||
|
||||
initialize_with do
|
||||
resolved_class.new(list: list, account: list.account)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue