chinwagsocial/spec/fabricators/account_warning_fabricator.rb

9 lines
169 B
Ruby
Raw Normal View History

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