This gem adds to minitest/spec the functionality that allows you to change Capybara drivers by passing parameters to
it, similarly to RSpec.
To install, add this to your Gemfile and do a
gem "minitest-capybara", "~> 0.0.1"
Then in your minitest/specs (or a
spec_helper that they all require) add:
Now you can change the driver to Selenium by passing the parameter `:js => true':
- Support :js => true on
- Support a :driver parameter to switch to a specific driver
Many thanks to those who have worked on RSpec, Capybara and minitest for making such awesome tools.
Released under the MIT license. See LICENSE.