Module: Adapters::Integration::Compression

Defined in:
test/adapters/integration.rb

Instance Method Summary collapse

Instance Method Details

#test_GET_handles_compressionObject



60
61
62
63
# File 'test/adapters/integration.rb', line 60

def test_GET_handles_compression
  res = get('echo_header', :name => 'accept-encoding')
  assert_match(/gzip;.+\bdeflate\b/, res.body)
end