2017-01-24 10:19:42 +01:00
|
|
|
|
FactoryGirl.define do
|
2018-01-08 17:48:08 +01:00
|
|
|
|
factory :closed_mail, class: Mails::ClosedMail do
|
2018-01-08 17:26:13 +01:00
|
|
|
|
subject "Subject, voila voila"
|
2017-01-24 10:19:42 +01:00
|
|
|
|
body "Blabla ceci est mon body"
|
|
|
|
|
|
2018-01-08 17:48:08 +01:00
|
|
|
|
factory :received_mail, class: Mails::ReceivedMail
|
2017-01-24 10:19:42 +01:00
|
|
|
|
|
2018-01-08 17:48:08 +01:00
|
|
|
|
factory :refused_mail, class: Mails::RefusedMail
|
2017-01-24 10:19:42 +01:00
|
|
|
|
|
2018-01-08 17:48:08 +01:00
|
|
|
|
factory :without_continuation_mail, class: Mails::WithoutContinuationMail
|
|
|
|
|
|
|
|
|
|
factory :initiated_mail, class: Mails::InitiatedMail do
|
2018-01-08 17:26:13 +01:00
|
|
|
|
subject "[TPS] Accusé de réception pour votre dossier nº --numéro du dossier--"
|
2017-12-22 19:34:40 +01:00
|
|
|
|
body "Votre administration vous confirme la bonne réception de votre dossier nº --numéro du dossier--"
|
2017-01-24 10:19:42 +01:00
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|