spec/elastic/transport/http/curb_spec.rb [22:32]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    let(:client) do
      Elastic::Transport::Client.new(transport_class: described_class)
    end

    describe '#perform_request' do
      subject(:perform_request) { client.perform_request(*args) }
      let(:args) do
        ['POST', '/', {}, body, headers]
      end
      let(:body) { '{"foo":"bar"}' }
      let(:headers) { { 'Content-Type' => 'application/x-ndjson' } }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/elastic/transport/http/faraday_spec.rb [21:31]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  let(:client) do
    Elastic::Transport::Client.new(transport_class: described_class)
  end

  describe '#perform_request' do
    subject(:perform_request) { client.perform_request(*args) }
    let(:args) do
      ['POST', '/', {}, body, headers]
    end
    let(:body) { '{"foo":"bar"}' }
    let(:headers) { { 'Content-Type' => 'application/x-ndjson' } }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



