about summary refs log tree commit diff
path: root/spec/fabricators/account_migration_fabricator.rb
blob: 2a8e747a81ae3fcd5d1f03879a11b64d36ac6b67 (plain) (blame)
1
2
3
4
5
6
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