Skip to content

Commit

Permalink
squelch this
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Oct 17, 2019
1 parent ddab77c commit 6198c75
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/faraday/error_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 6198c75

Please sign in to comment.