From 6198c755a7a6610ab8d7148e897a6054861da6d7 Mon Sep 17 00:00:00 2001 From: rick olson Date: Thu, 17 Oct 2019 15:44:15 -0600 Subject: [PATCH] squelch this --- spec/faraday/error_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/faraday/error_spec.rb b/spec/faraday/error_spec.rb index 761a337b5..92bffe9a6 100644 --- a/spec/faraday/error_spec.rb +++ b/spec/faraday/error_spec.rb @@ -67,7 +67,9 @@ end it 'allows backward-compatible class to be subclassed' do - expect { Class.new(Faraday::Error::ClientError) }.not_to raise_error + expect { + with_warn_squelching { Class.new(Faraday::Error::ClientError) } + }.not_to raise_error end it 'allows rescuing of a current error with a deprecated error' do