From 2ae6a71628f90a5836d38caf29a17842a72ab9c3 Mon Sep 17 00:00:00 2001 From: Alexey Zapparov Date: Sun, 20 Dec 2020 15:50:22 +0100 Subject: [PATCH] Disable SSL related specs Specs are failing due to some misconfiguration caused by new OpenSSL. TODO: https://github.com/httprb/http/issues/627 --- spec/lib/http/client_spec.rb | 3 ++- spec/lib/http_spec.rb | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/spec/lib/http/client_spec.rb b/spec/lib/http/client_spec.rb index 42c1c0c2..f854e3d8 100644 --- a/spec/lib/http/client_spec.rb +++ b/spec/lib/http/client_spec.rb @@ -350,7 +350,8 @@ def on_error(request, error) let(:client) { described_class.new(options.merge(extra_options)) } end - describe "working with SSL" do + # TODO: https://github.com/httprb/http/issues/627 + xdescribe "working with SSL" do run_server(:dummy_ssl) { DummyServer.new(:ssl => true) } let(:extra_options) { {} } diff --git a/spec/lib/http_spec.rb b/spec/lib/http_spec.rb index cd79880d..f7a1bb21 100644 --- a/spec/lib/http_spec.rb +++ b/spec/lib/http_spec.rb @@ -95,7 +95,8 @@ expect(response.to_s).to match(//) end - context "ssl" do + # TODO: htt:s://github.com/httprb/http/issues/627 + xcontext "ssl" do it "responds with the endpoint's body" do response = ssl_client.via(proxy.addr, proxy.port).get dummy_ssl.endpoint expect(response.to_s).to match(//) @@ -131,7 +132,8 @@ expect(response.status).to eq(407) end - context "ssl" do + # TODO: htt:s://github.com/httprb/http/issues/627 + xcontext "ssl" do it "responds with the endpoint's body" do response = ssl_client.via(proxy.addr, proxy.port, "username", "password").get dummy_ssl.endpoint expect(response.to_s).to match(//)