2023-02-22 00:55:31 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-08-09 07:56:53 +00:00
|
|
|
Fabricator(:account_pin) do
|
2023-03-04 16:12:09 +00:00
|
|
|
account
|
|
|
|
target_account(fabricator: :account)
|
|
|
|
before_create { |account_pin, _| account_pin.account.follow!(account_pin.target_account) }
|
2018-08-09 07:56:53 +00:00
|
|
|
end
|