chuckya/spec/fabricators/list_account_fabricator.rb

8 lines
162 B
Ruby
Raw Normal View History

2023-03-05 02:31:13 +09:00
# frozen_string_literal: true
Fabricator(:list_account) do
list
account
before_create { |list_account, _| list_account.list.account.follow!(account) }
end