diff --git a/spec/lib/balancer_delivery_method_spec.rb b/spec/lib/balancer_delivery_method_spec.rb index bf5e39b52..7fb2495be 100644 --- a/spec/lib/balancer_delivery_method_spec.rb +++ b/spec/lib/balancer_delivery_method_spec.rb @@ -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