Add constants for email addresses

This commit is contained in:
gregoirenovel 2018-05-31 15:43:57 +02:00
parent a3f5ae9d0b
commit 185f08f63e
18 changed files with 34 additions and 24 deletions

View file

@ -31,7 +31,7 @@ describe Commentaire do
expect(commentaire).not_to receive(:notify_user)
expect(commentaire).not_to receive(:notify_gestionnaires)
commentaire.email = "contact@demarches-simplifiees.fr"
commentaire.email = CONTACT_EMAIL
commentaire.save
end
end