debian-mirror-gitlab/spec/factories/spam_logs.rb

10 lines
223 B
Ruby
Raw Normal View History

2016-04-02 18:10:28 +05:30
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