BigW Consortium Gitlab

abuse_reports.rb 429 Bytes
Newer Older
Stan Hu committed
1 2 3 4 5 6 7 8 9 10 11 12
# == Schema Information
#
# Table name: abuse_reports
#
#  id          :integer          not null, primary key
#  reporter_id :integer
#  user_id     :integer
#  message     :text
#  created_at  :datetime
#  updated_at  :datetime
#

13 14 15 16 17 18 19 20 21
# Read about factories at https://github.com/thoughtbot/factory_girl

FactoryGirl.define do
  factory :abuse_report do
    reporter factory: :user
    user
    message 'User sends spam'
  end
end