gitlab-org--gitlab-foss/spec/factories/spam_logs.rb
2016-02-02 11:25:44 -02:00

11 lines
293 B
Ruby

# Read about factories at https://github.com/thoughtbot/factory_girl
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