Sha256: ff6e84c5f40fb661f2a41de91c243ea1d1f19ae62140a02c9fd615aa55afee12
Contents?: true
Size: 561 Bytes
Versions: 47
Compression:
Stored size: 561 Bytes
Contents
# frozen_string_literal: true RSpec.describe Faraday::Adapter::EMSynchrony, unless: defined?(JRUBY_VERSION) do features :request_body_on_query_methods, :reason_phrase_parse, :skip_response_body_on_head, :parallel, :local_socket_binding it_behaves_like 'an adapter' it 'allows to provide adapter specific configs' do url = URI('https://example.com:1234') adapter = described_class.new nil, inactivity_timeout: 20 req = adapter.create_request(url: url, request: {}) expect(req.connopts.inactivity_timeout).to eq(20) end end
Version data entries
47 entries across 37 versions & 11 rubygems