Sha256: 2fad14dea235bead3cd6e94a5e048e660649febfca3d5cdb8e5f2d18970fd2c8

Contents?: true

Size: 343 Bytes

Versions: 8

Compression:

Stored size: 343 Bytes

Contents

Given(/^no proxy urls in environment$/) do
  ENV.delete('http_proxy')
  ENV.delete('https_proxy')
  ENV.delete('HTTP_PROXY')
  ENV.delete('HTTPS_PROXY')
end

When(/^I sucessfully fetch the proxy pac$/) do
  @result = Excon.get('http://localhost:8000/v1/pac/proxy.pac').body
end

Then(/^I got$/) do |string|
  expect(@result).to eq(string)
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
local_pac-0.5.0 features/step_definitions.rb
local_pac-0.4.0 features/step_definitions.rb
local_pac-0.3.0 features/step_definitions.rb
local_pac-0.2.3 features/step_definitions.rb
local_pac-0.2.2 features/step_definitions.rb
local_pac-0.2.1 features/step_definitions.rb
local_pac-0.2.0 features/step_definitions.rb
local_pac-0.1.13 features/step_definitions.rb