Permalink
Browse files

fix problem running Cucumber

  • Loading branch information...
1 parent df4875d commit 507c1f4b1745df42e09dab9e9ab5d3293b9e41f3 @fortuity committed Mar 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 features/support/env.rb
@@ -15,7 +15,8 @@
require 'capybara/rails'
require 'capybara/cucumber'
require 'capybara/session'
-require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript
+# see https://github.com/aslakhellesoy/cucumber-rails/issues/closed/#issue/77 re capybara_javascript_emulation
+# require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript
# 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

0 comments on commit 507c1f4

Please sign in to comment.