ensure the expected port is actually used by cucumber

This commit is contained in:
Jonne Hass 2011-12-09 14:59:44 +01:00
parent 247863c6f7
commit 8f13f2182e

View file

@ -13,6 +13,10 @@ require 'capybara/session'
#require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript
require 'cucumber/api_steps'
# Ensure we know the appservers port
Capybara.server_port = 9887
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In
# order to ease the transition to Capybara we set the default here. If you'd
# prefer to use XPath just remove this line and adjust any selectors in your