blob: d90e5d6bf26b6414a9d6f960598203300a312317 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# 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
|