account_warning_fabricator.rb 199 B

12345678
  1. # frozen_string_literal: true
  2. Fabricator(:account_warning) do
  3. account { Fabricate.build(:account) }
  4. target_account(fabricator: :account)
  5. text { Faker::Lorem.paragraph }
  6. action 'suspend'
  7. end