The Capybara API does not seem to support HTTP proxy configuration. Is there any way to use it with it?
Context: I use capybara with a cucumber to test the rails and akephalos application as a javascript driver. There is a tag on the page scriptthat makes a request to an external site (in this case, maps.google.com). The cucumber test fails with the following message:
org.apache.http.conn.HttpHostConnectException: Connection to http://maps.google.com refused (NativeException)
(drbunix:///tmp/akephalos.24700.sock) -e:1
./features/step_definitions/named_element_steps.rb:20
source
share