2019-04-30 08:27:42 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-04-29 14:33:24 +08:00
|
|
|
Fabricator(:group) do
|
2016-12-14 17:26:16 +08:00
|
|
|
name { sequence(:name) { |n| "my_group_#{n}" } }
|
2013-04-29 14:33:24 +08:00
|
|
|
end
|
2017-07-28 10:37:10 +08:00
|
|
|
|
|
|
|
Fabricator(:public_group, from: :group) do
|
|
|
|
public_admission true
|
|
|
|
public_exit true
|
|
|
|
end
|
2020-10-22 08:49:08 +08:00
|
|
|
|
|
|
|
Fabricator(:imap_group, from: :group) do
|
|
|
|
smtp_server "smtp.ponyexpress.com"
|
|
|
|
smtp_port 587
|
|
|
|
smtp_ssl true
|
|
|
|
imap_server "imap.ponyexpress.com"
|
|
|
|
imap_port 993
|
|
|
|
imap_ssl true
|
|
|
|
imap_mailbox_name "All Mail"
|
|
|
|
imap_uid_validity 0
|
|
|
|
imap_last_uid 0
|
|
|
|
email_username "discourseteam@ponyexpress.com"
|
|
|
|
email_password "test"
|
|
|
|
end
|