about summary refs log tree commit diff
path: root/spec/fabricators/list_account_fabricator.rb
blob: 00dde83cdf00c29cb8c6f58bf1f697e15c1344b0 (plain) (blame)
1
2
3
4
5
6
7
# frozen_string_literal: true

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