~cytrogen/masto-fe

ref: 2016c5d912f400ae98ee03ce269112de2f9ec62d masto-fe/spec/fabricators/account_migration_fabricator.rb -rw-r--r-- 313 bytes
2016c5d9 — Matt Jankowski Fix deprecation warning about `rewhere: true` being default behavior (Rails 7.1 prep) (#27190) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
# 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
  created_at { 60.days.ago }
end