Skip to content

Commit

Permalink
fix problem running Cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuity committed Mar 14, 2011
1 parent df4875d commit 507c1f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion features/support/env.rb
Expand Up @@ -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
Expand Down

0 comments on commit 507c1f4

Please sign in to comment.