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

      it 'call compress_request' do
        expect(client.transport).to receive(:compress_request).with(body_string, 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 [93:105]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        it 'convert body to json' do
          expect(client.transport).to receive(:__convert_to_json).with(body)
          perform_request
        end

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

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



