spec/elastic/transport/http/faraday_spec.rb [66:78]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      it 'convert body to json' do
        expect(client.transport).not_to receive(:__convert_to_json)
        perform_request
      end

      it 'call compress_request' do
        expect(client.transport).to receive(:compress_request).with(body, expected_headers)
        perform_request
      end

      it 'run body with preper params' do
        expect(
          client.transport.connections.first.connection
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/elastic/transport/http/manticore_spec.rb [70:82]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        it 'convert body to json' do
          expect(client.transport).not_to receive(:__convert_to_json)
          perform_request
        end

        it 'call compress_request' do
          expect(client.transport).to receive(:compress_request).with(body, expected_headers)
          perform_request
        end

        it 'run body with preper params' do
          expect(
            client.transport.connections.first.connection
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



