Capybara 1.1.2 + Rspec + :webkit = undefined javascript_driver #392

Closed
megabga opened this Issue Sep 20, 2012 · 1 comment

Projects

None yet

1 participant

@megabga

I want to change my default drive for running tests with javascript, specific scenario with javascript, from default, :selenium, to any, like :webkit, in RSpec, just setting :js => true flag. But, trying to runing "describe 'xxx', :js => true do" with :webkit, and loading javascript_driver in rspec_helper, thats what happened "Undefined method javascript_driver for Capybara:Module"

undefined method `javascript_driver=' for Capybara:Module (NoMethodError)

http://stackoverflow.com/questions/12457575/capybara-rspec-webkit-undefined-javascript-driver

@megabga

missing this on spec_helper.rb

require "capybara/rspec"

Thanks https://github.com/jnicklas

@megabga megabga closed this Oct 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment