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

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/faraday-1.2.0/spec/faraday/adapter/em_synchrony_spec.rb
alloy_sdk-0.1.0 vendor/bundle/ruby/3.0.0/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/faraday-1.4.2/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/faraday-1.4.2/spec/faraday/adapter/em_synchrony_spec.rb
faraday-1.5.0 spec/faraday/adapter/em_synchrony_spec.rb
faraday-1.4.3 spec/faraday/adapter/em_synchrony_spec.rb
passbase-1.3.0 vendor/bundle/ruby/2.7.0/gems/faraday-1.4.2/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/faraday-1.2.0/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/faraday-1.1.0/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/faraday-1.4.2/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/faraday-1.3.0/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/faraday-1.4.2/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/faraday-1.3.0/spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/faraday-1.1.0/spec/faraday/adapter/em_synchrony_spec.rb
faraday-1.4.2 spec/faraday/adapter/em_synchrony_spec.rb
cocRb-0.1.0 .bundle/ruby/3.0.0/gems/faraday-1.4.1/spec/faraday/adapter/em_synchrony_spec.rb
faraday-1.4.1 spec/faraday/adapter/em_synchrony_spec.rb
faraday-1.4.0 spec/faraday/adapter/em_synchrony_spec.rb
faraday-1.3.1 spec/faraday/adapter/em_synchrony_spec.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/faraday-1.3.0/spec/faraday/adapter/em_synchrony_spec.rb