Navigation Menu

Skip to content

Commit

Permalink
Remove note about requiring 'capybara/rspec'
Browse files Browse the repository at this point in the history
Should not be necessary since it already gets loaded in lib/rspec/rails/vendor/capybara.rb
  • Loading branch information
aripollak committed Mar 6, 2013
1 parent 4ecdfd0 commit 84047be
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Capybara.md
Expand Up @@ -3,16 +3,14 @@ its Capybara::DSL (visit/page) and Capybara::RSpecMatchers to the
examples in the applicable directories, which differ slightly between
Capybara 1.x and Capybara >= 2.x.

Note that you need to require "capybara/rspec" for this integration to work.

## Capybara::DSL

Adds the `visit` and `page` methods, which work together to simulate a
GET request and provide access to the result (via `page`).

## Capybara::RSpecMatchers

Exposes matchers used to specify expected HTML content (e.g. `have_selector`).
Exposes matchers used to specify expected HTML content (e.g. `should_not have_selector` will work correctly).

## Capybara 1.x

Expand Down

0 comments on commit 84047be

Please sign in to comment.