spec/async/io/ssl_server_spec.rb in async-io-1.23.1 vs spec/async/io/ssl_server_spec.rb in async-io-1.23.3
- old
+ new
@@ -34,9 +34,13 @@
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) {"What one programmer can do in one month, two programmers can do in two months."}
+ it "can see through to address" do
+ expect(server_endpoint.address).to be == endpoint.address
+ end
+
it 'can accept_each connections' do
# Accept a single incoming connection and then finish.
server_task = reactor.async do |task|
server_endpoint.bind do |server|
server.listen(10)