aboutsummaryrefslogtreecommitdiffstats
path: root/test/net/smtp/test_ssl_socket.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/smtp/test_ssl_socket.rb')
-rw-r--r--test/net/smtp/test_ssl_socket.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/net/smtp/test_ssl_socket.rb b/test/net/smtp/test_ssl_socket.rb
index 20792190c8..354f413040 100644
--- a/test/net/smtp/test_ssl_socket.rb
+++ b/test/net/smtp/test_ssl_socket.rb
@@ -7,6 +7,11 @@ module Net
class MySMTP < SMTP
attr_accessor :fake_tcp, :fake_ssl
+ def initialize(*args)
+ super(*args)
+ @open_timeout = nil
+ end
+
def tcp_socket address, port
fake_tcp
end