Sha256: 04b344c50a82070ffe327e45e2f7b9563ad69f9b314b4e9501bfd6bea79e701a

Contents?: true

Size: 627 Bytes

Versions: 22

Compression:

Stored size: 627 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper'))

describe HTTParty::Error do
  subject { described_class }

  its(:ancestors) { should include(StandardError) }

  describe HTTParty::UnsupportedFormat do
    its(:ancestors) { should include(HTTParty::Error) }
  end
  
  describe HTTParty::UnsupportedURIScheme do
    its(:ancestors) { should include(HTTParty::Error) }
  end

  describe HTTParty::ResponseError do
    its(:ancestors) { should include(HTTParty::Error) }
  end

  describe HTTParty::RedirectionTooDeep do
    its(:ancestors) { should include(HTTParty::ResponseError) }
  end
end

Version data entries

22 entries across 21 versions & 7 rubygems

Version Path
yoyle439587298-0.13.0 spec/httparty/exception_spec.rb
httparty-0.13.0 spec/httparty/exception_spec.rb