From a6577abf221e5e99ac960e9b89836d0f9ce4d17b Mon Sep 17 00:00:00 2001 From: Brice Durand Date: Tue, 24 Sep 2024 09:45:26 +0200 Subject: [PATCH] =?UTF-8?q?wording:=20correction=20d'une=20coquille=20sur?= =?UTF-8?q?=20le=20mail=20r=C3=A9capitulatif=20d'activit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/mailers/conservateur_mailer.rb | 2 +- spec/mailers/conservateur_mailer_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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