chinwagsocial/spec/fabricators/account_warning_fabricator.rb

7 lines
138 B
Ruby
Raw Permalink Normal View History

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