Skip to content

Commit

Permalink
Failing spec for lostisland#1033
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbyMcWho committed Sep 28, 2019
1 parent b670d3b commit 032bca1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/faraday/error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@
"DEPRECATION WARNING: Faraday::Error::ClientError is deprecated! Use Faraday::ClientError instead.\n"
)
end

it 'allows backward-compatible class to be subclassed' do
expect { class CustomError < Faraday::Error::ClientError; end }.not_to raise_error(TypeError)
end
end

def with_warn_squelching
Expand Down

0 comments on commit 032bca1

Please sign in to comment.