Browse files

Remove note about requiring 'capybara/rspec'

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 84047bedd412a06fe54f7047029d0d89621eb459
Showing with 1 addition and 3 deletions.
  1. +1 −3
@@ -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

0 comments on commit 84047be

Please sign in to comment.