bastodon/spec/fabricators/account_warning_fabricator.rb
2023-06-10 18:29:01 +02:00

8 řádky
199 B
Ruby

# frozen_string_literal: true
Fabricator(:account_warning) do
account { Fabricate.build(:account) }
target_account(fabricator: :account)
text { Faker::Lorem.paragraph }
action 'suspend'
end