Skip to content

Commit

Permalink
Address spec failures since default timeouts added
Browse files Browse the repository at this point in the history
Follow up mikel#1427
  • Loading branch information
yahonda committed Jun 9, 2021
1 parent 4f56234 commit 351fe3e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mail/network_spec.rb
Expand Up @@ -49,8 +49,8 @@ class MyRetriever; def initialize(settings); end; end
:openssl_verify_mode => nil,
:ssl => nil,
:tls => nil,
:open_timeout => nil,
:read_timeout => nil })
:open_timeout => 5,
:read_timeout => 5 })
end

it "should set the retriever method" do
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Expand Up @@ -73,6 +73,8 @@ def strip_heredoc(string)

# Original mockup from ActionMailer
class MockSMTP
attr_accessor :open_timeout, :read_timeout

def self.deliveries
@@deliveries
end
Expand Down

0 comments on commit 351fe3e

Please sign in to comment.