mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-15 03:13:35 +00:00
8 lines
205 B
Ruby
8 lines
205 B
Ruby
# frozen_string_literal: true
|
|
|
|
Fabricator(:account_pin) do
|
|
account
|
|
target_account(fabricator: :account)
|
|
before_create { |account_pin, _| account_pin.account.follow!(account_pin.target_account) }
|
|
end
|