Sha256: fe4efefab6fcd62fb171165559896b24aa309fbea44202cbe7790d9036cb5e6c
Contents?: true
Size: 487 Bytes
Versions: 77
Compression:
Stored size: 487 Bytes
Contents
# frozen_string_literal: true RSpec.describe Faraday::Adapter::Patron, unless: defined?(JRUBY_VERSION) do features :reason_phrase_parse it_behaves_like 'an adapter' it 'allows to provide adapter specific configs' do conn = Faraday.new do |f| f.adapter :patron do |session| session.max_redirects = 10 raise 'Configuration block called' end end expect { conn.get('/') }.to raise_error(RuntimeError, 'Configuration block called') end end
Version data entries
77 entries across 64 versions & 15 rubygems