1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 14:58:31 +09:00
whippy-edition/spec/fabricators/account_migration_fabricator.rb

9 lines
284 B
Ruby

# 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