Sha256: a46c40f11080141f0d16642f63047580822475c4e2713e2dc810b9e0ae87d973
Contents?: true
Size: 1.14 KB
Versions: 12
Compression:
Stored size: 1.14 KB
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'spec_helper')) RSpec.describe HTTParty::Error do subject { described_class } describe '#ancestors' do subject { super().ancestors } it { is_expected.to include(StandardError) } end describe HTTParty::UnsupportedFormat do describe '#ancestors' do subject { super().ancestors } it { is_expected.to include(HTTParty::Error) } end end describe HTTParty::UnsupportedURIScheme do describe '#ancestors' do subject { super().ancestors } it { is_expected.to include(HTTParty::Error) } end end describe HTTParty::ResponseError do describe '#ancestors' do subject { super().ancestors } it { is_expected.to include(HTTParty::Error) } end end describe HTTParty::RedirectionTooDeep do describe '#ancestors' do subject { super().ancestors } it { is_expected.to include(HTTParty::ResponseError) } end end describe HTTParty::DuplicateLocationHeader do describe '#ancestors' do subject { super().ancestors } it { is_expected.to include(HTTParty::ResponseError) } end end end
Version data entries
12 entries across 12 versions & 1 rubygems