Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't recognized javascript_driver #53

Open
jhjwind opened this issue Jul 12, 2012 · 1 comment
Open

doesn't recognized javascript_driver #53

jhjwind opened this issue Jul 12, 2012 · 1 comment

Comments

@jhjwind
Copy link

jhjwind commented Jul 12, 2012

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

@theodorton
Copy link

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
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants