6
0
Ответвление 0
bastodon/spec/fabricators/account_pin_fabricator.rb
2023-03-04 17:12:09 +01:00

7 строки
205 Б
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