From cce79390a8422e8c965efa34a942e30d6aba7178 Mon Sep 17 00:00:00 2001 From: Matt Fellows Date: Mon, 24 Sep 2018 21:34:31 +1000 Subject: [PATCH] fix(openssl): simplify certificate test for latest LibreSSL/OpenSSL libs --- spec/lib/pact_broker/certificates/service_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/pact_broker/certificates/service_spec.rb b/spec/lib/pact_broker/certificates/service_spec.rb index ec638bbca..c4466c936 100644 --- a/spec/lib/pact_broker/certificates/service_spec.rb +++ b/spec/lib/pact_broker/certificates/service_spec.rb @@ -24,7 +24,7 @@ module Certificates end it "logs the error" do - expect(Service).to receive(:log_error).with(/Error adding certificate/).at_least(1).times + expect(Service).to receive(:log_error).with(anything, /Error adding certificate/).at_least(1).times subject end