Sha256: 6ccc3bad9a730e1d728120b5f07d3be0453946362f1e6642f03337ce43698eb0
Contents?: true
Size: 500 Bytes
Versions: 8
Compression:
Stored size: 500 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe HTTPClient do let(:client) { HTTPClient.new } it 'works with transparent_gzip_decompression' do client.transparent_gzip_decompression = true expect { client.get("http://localhost:9292/index.html.gz") }.to_not(raise_error) expect(log).to include(HttpLog::LOG_PREFIX + 'Status: 200') expect(log).to include(HttpLog::LOG_PREFIX + 'Data:') expect(log).to include(HttpLog::LOG_PREFIX + "Response:\n<html>") end end
Version data entries
8 entries across 8 versions & 1 rubygems