Allow connections to be passed through to Selenium

This commit is contained in:
Stephen Caudill 2010-09-25 15:21:19 -04:00
parent 8a93c67166
commit 9038d6b0ed

View file

@ -22,6 +22,8 @@ require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links wi
# steps to use the XPath syntax.
Capybara.default_selector = :css
WebMock.disable_net_connect!(:allow_localhost => true)
# If you set this to false, any error raised from within your app will bubble
# up to your step definition and out to cucumber unless you catch it somewhere
# on the way. You can make Rails rescue errors and render error pages on a