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