Sha256: 9ef796473762c591a4aaa5433fc1a90868c5c55b944f8ea350a40004c0186b9a
Contents?: true
Size: 486 Bytes
Versions: 9
Compression:
Stored size: 486 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe PacResult do it 'parses pac result' do result = PacResult.new('PROXY localhost:3128') expect(result.proxy).to eq('localhost') expect(result.proxy_port).to eq('3128') expect(result.request_type).to eq('PROXY') end it 'parses pac result' do result = PacResult.new('DIRECT') expect(result.proxy).to eq(nil) expect(result.proxy_port).to eq(nil) expect(result.request_type).to eq('DIRECT') end end
Version data entries
9 entries across 9 versions & 1 rubygems