0
0
Fork 0
mirror of https://github.com/lunaisnotaboy/mastodon.git synced 2024-12-12 16:36:23 +00:00
mastodon/spec/fabricators/account_pin_fabricator.rb

8 lines
205 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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) }
end