list_account_fabricator.rb 162 B

1234567
  1. # frozen_string_literal: true
  2. Fabricator(:list_account) do
  3. list
  4. account
  5. before_create { |list_account, _| list_account.list.account.follow!(account) }
  6. end