test: fix deprecated Mail::CheckDeliveryParams.check syntax

This commit is contained in:
Colin Darie 2023-11-09 17:46:54 +01:00
parent 610b808d32
commit 65feaa37e3
No known key found for this signature in database
GPG key ID: 8C76CADD40253590

View file

@ -35,7 +35,7 @@ RSpec.describe BalancerDeliveryMethod do
end
def deliver!(mail)
Mail::CheckDeliveryParams.check(mail)
Mail::SmtpEnvelope.new(mail)
self.class.deliveries << mail
end
end