vt-social/spec/fabricators/appeal_fabricator.rb

6 lines
152 B
Ruby

Fabricator(:appeal) do
strike(fabricator: :account_warning)
account { |attrs| attrs[:strike].target_account }
text { Faker::Lorem.paragraph }
end