Minitest::Capybara::Unit

MiniTest::Unit assertions for Capybara node matchers.

Installation

Add this line to your application's Gemfile:

gem 'minitest-capybara-unit'

And then execute:

$ bundle

Or install it yourself as:

$ gem install minitest-capybara-unit

Usage

Capybara Minitest Capybara Unit
assert page.has_button? assert_page_has_button
refute page.has_button? refute_page_has_button

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request