demarches-normaliennes/spec/factories/mail_templates.rb
2018-01-09 16:24:00 +01:00

17 lines
617 B
Ruby
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FactoryGirl.define do
factory :closed_mail, class: Mails::ClosedMail do
subject "Subject, voila voila"
body "Blabla ceci est mon body"
factory :received_mail, class: Mails::ReceivedMail
factory :refused_mail, class: Mails::RefusedMail
factory :without_continuation_mail, class: Mails::WithoutContinuationMail
factory :initiated_mail, class: Mails::InitiatedMail do
subject "[TPS] Accusé de réception pour votre dossier nº --numéro du dossier--"
body "Votre administration vous confirme la bonne réception de votre dossier nº --numéro du dossier--"
end
end
end