spec/elastic/transport/http/faraday_spec.rb [39:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    end

    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, expected_headers)
      perform_request
    end

    it 'return response' do
      expect(perform_request).to be_kind_of(Elastic::Transport::Transport::Response)
    end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/elastic/transport/http/manticore_spec.rb [40:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      end

      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, expected_headers)
        perform_request
      end

      it 'return response' do
        expect(perform_request).to be_kind_of(Elastic::Transport::Transport::Response)
      end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



