2
0

Remove follow creation from ListAccount fabricator (#31902)

This commit is contained in:
Matt Jankowski
2024-09-16 04:56:40 -04:00
committed by GitHub
parent 474abf3c7f
commit c54cbf7943
2 changed files with 7 additions and 7 deletions

View File

@@ -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