1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/spec/fabricators/list_account_fabricator.rb
2023-03-04 18:31:13 +01:00

7 lines
162 B
Ruby

# frozen_string_literal: true
Fabricator(:list_account) do
list
account
before_create { |list_account, _| list_account.list.account.follow!(account) }
end