spec/async/io/ssl_socket_spec.rb in async-io-1.15.0 vs spec/async/io/ssl_socket_spec.rb in async-io-1.15.1
- old
+ new
@@ -29,11 +29,11 @@
it_should_behave_like Async::IO::Generic
# Shared port for localhost network tests.
let(:endpoint) {Async::IO::Endpoint.tcp("127.0.0.1", 6779, reuse_port: true)}
- let(:server_endpoint) {Async::IO::SecureEndpoint.new(endpoint, ssl_context: server_context)}
- let(:client_endpoint) {Async::IO::SecureEndpoint.new(endpoint, ssl_context: client_context)}
+ let(:server_endpoint) {Async::IO::SSLEndpoint.new(endpoint, ssl_context: server_context)}
+ let(:client_endpoint) {Async::IO::SSLEndpoint.new(endpoint, ssl_context: client_context)}
let(:data) {"The quick brown fox jumped over the lazy dog."}
let(:server_task) do
# Accept a single incoming connection and then finish.