diff --git a/app/mailers/conservateur_mailer.rb b/app/mailers/conservateur_mailer.rb index 28ca39850..5c25360bd 100644 --- a/app/mailers/conservateur_mailer.rb +++ b/app/mailers/conservateur_mailer.rb @@ -25,6 +25,6 @@ def activite_email @communes_with_dossiers = @departement.commune_dossiers_transmis(date_range) mail \ to: email_address_with_name(@conservateur.email, @conservateur.full_name), - subject: "Récapitlatif d'activité du #{@human_date_start} au #{@human_date_end} #{@departement.dans_nom}" + subject: "Récapitulatif d'activité du #{@human_date_start} au #{@human_date_end} #{@departement.dans_nom}" end end diff --git a/spec/mailers/conservateur_mailer_spec.rb b/spec/mailers/conservateur_mailer_spec.rb index aa404d19b..4b7868b93 100644 --- a/spec/mailers/conservateur_mailer_spec.rb +++ b/spec/mailers/conservateur_mailer_spec.rb @@ -41,7 +41,7 @@ ) it "behaves as expected" do - expect(mail.subject).to include "Récapitlatif d'activité" + expect(mail.subject).to include "Récapitulatif d'activité" expect(mail.to).to eq([conservateur.email]) expect(mail.from).to eq([CONTACT_EMAIL]) end