summaryrefslogtreecommitdiff
path: root/spec/factories/spam_logs.rb
blob: a4f6d291269b95268d9544b2b3831e9c63d834bd (plain)
1
2
3
4
5
6
7
8
9
FactoryGirl.define do
  factory :spam_log do
    user
    source_ip { FFaker::Internet.ip_v4_address }
    noteable_type 'Issue'
    title { FFaker::Lorem.sentence }
    description { FFaker::Lorem.paragraph(5) }
  end
end