status_pin_fabricator.rb 195 B

123456
  1. # frozen_string_literal: true
  2. Fabricator(:status_pin) do
  3. account { Fabricate.build(:account) }
  4. status { |attrs| Fabricate.build(:status, account: attrs[:account], visibility: :public) }
  5. end