diff --git a/spec/mailers/notification_mailer_spec.rb b/spec/mailers/notification_mailer_spec.rb index c5c2be9bd..323946853 100644 --- a/spec/mailers/notification_mailer_spec.rb +++ b/spec/mailers/notification_mailer_spec.rb @@ -22,7 +22,7 @@ RSpec.describe NotificationMailer, type: :mailer do klass = Class.new(described_class) do # We’re testing the (private) method `NotificationMailer#send_notification`. # - # The standard trick to test a private method would be to `send(:send_notification`, but doesn’t work here, + # The standard trick to test a private method would be to `send(:send_notification)`, but doesn’t work here, # because ActionMailer does some magic to expose public instace methods as class methods. # So, we use inheritance instead to make the private method public for testing purposes. def send_notification(dossier, template)