doesn't recognized javascript_driver #53

jhjwind opened this Issue Jul 12, 2012 · 1 comment

2 participants


Even though I setup Capybara.javascript_driver = :webkit within the rspec.config block, the specs are still running using RackTest.


In case anyone else sees this issue, I solved it like this:

# spec/acceptance/acceptance_helper.rb
require 'spec_helper'

# Put your acceptance spec helpers inside spec/acceptance/support
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  Capybara.default_driver = :webkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment