account_pin_fabricator.rb 205 B

1234567
  1. # frozen_string_literal: true
  2. Fabricator(:account_pin) do
  3. account
  4. target_account(fabricator: :account)
  5. before_create { |account_pin, _| account_pin.account.follow!(account_pin.target_account) }
  6. end