Sha256: fac9b1a8285557d62cf83230a7e624d9761be4f08189cdd4ed82f7173ea82946

Contents?: true

Size: 405 Bytes

Versions: 8

Compression:

Stored size: 405 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

Before('@slow_process') do
  @aruba_timeout_seconds = 10
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
local_pac-0.10.2 features/step_definitions.rb
local_pac-0.10.1 features/step_definitions.rb
local_pac-0.10.0 features/step_definitions.rb
local_pac-0.9.0 features/step_definitions.rb
local_pac-0.7.0 features/step_definitions.rb
local_pac-0.6.3 features/step_definitions.rb
local_pac-0.6.2 features/step_definitions.rb
local_pac-0.6.1 features/step_definitions.rb