demarches-normaliennes/spec/factories/mail_templates.rb
gregoirenovel ba4ee68019 Use masculine ordinal indicator instead of the degree sign
It’s the right way to contract “numéro”

We should use the superscript lowercase o but
it’s hard to do in places where only raw text is
available
2017-04-19 11:19:53 +02:00

21 lines
543 B
Ruby

FactoryGirl.define do
factory :mail_template do
object "Object, voila voila"
body "Blabla ceci est mon body"
type 'MailValidated'
trait :dossier_submitted do
type 'MailSubmitted'
end
trait :dossier_refused do
type 'MailRefused'
end
trait :dossier_received do
object "[TPS] Accusé de réception pour votre dossier nº--numero_dossier--"
body "Votre administration vous confirme la bonne réception de votre dossier nº--numero_dossier--"
type 'MailReceived'
end
end
end