instante-social/spec/fabricators/report_fabricator.rb

7 lines
126 B
Ruby

Fabricator(:report) do
account
target_account { Fabricate(:account) }
comment "You nasty"
action_taken false
end