test: fix deprecated Mail::CheckDeliveryParams.check syntax
This commit is contained in:
parent
610b808d32
commit
65feaa37e3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue