Also fix it so that reports against dmails include the key in the dmail link so that mods can view the reported dmail.
11 lines
265 B
Ruby
11 lines
265 B
Ruby
FactoryBot.define do
|
|
factory(:dmail) do
|
|
owner factory: :user
|
|
from factory: :user
|
|
to factory: :user
|
|
creator_ip_addr { FFaker::Internet.ip_v4_address }
|
|
title {FFaker::Lorem.words.join(" ")}
|
|
body {FFaker::Lorem.sentences.join(" ")}
|
|
end
|
|
end
|