ensure the expected port is actually used by cucumber
This commit is contained in:
parent
247863c6f7
commit
8f13f2182e
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue