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