spam_logs.rb 223 Bytes
Newer Older
1 2 3
FactoryGirl.define do
  factory :spam_log do
    user
4 5 6 7
    source_ip { FFaker::Internet.ip_v4_address }
    noteable_type 'Issue'
    title { FFaker::Lorem.sentence }
    description { FFaker::Lorem.paragraph(5) }
8 9
  end
end