Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

doesn't recognized javascript_driver #53

Open
jhjwind opened this Issue · 1 comment

2 participants

@jhjwind

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

@theodorton

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
Something went wrong with that request. Please try again.