about summary refs log tree commit diff
path: root/spec/fabricators/account_migration_fabricator.rb
blob: fd453f6d2ab1ab20e24ee5504d5916dec190a260 (plain) (blame)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

Fabricator(:account_migration) do
  account
  target_account { |attrs| Fabricate(:account, also_known_as: [ActivityPub::TagManager.instance.uri_for(attrs[:account])]) }
  acct           { |attrs| attrs[:target_account].acct }
  followers_count 1234
end