debian-mirror-gitlab/spec/factories/spam_logs.rb
2016-06-02 11:05:42 +05:30

9 lines
223 B
Ruby

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