Skip to content

Commit

Permalink
wording: correction d'une coquille sur le mail récapitulatif d'activité
Browse files Browse the repository at this point in the history
  • Loading branch information
bricedurand committed Sep 24, 2024
1 parent de15d81 commit a6577ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/mailers/conservateur_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion spec/mailers/conservateur_mailer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6577ab

Please sign in to comment.