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...
1 parent 5232628 commit 7e2b3b5d12e7533e3855607581176875364dfa3c @aripollak aripollak committed with alindeman Mar 6, 2013
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 7e2b3b5

Please sign in to comment.