Skip to content

Commit 0104f0f

Browse files
committed
Merge pull request #10 from rspec/add-config-instructions-to-readme
Add config info to README
2 parents 76cb524 + 03268d1 commit 0104f0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Or install it yourself as:
2121

2222
## Basic usage
2323

24+
First of all, you need to require rspec-collection matchers. Add the following line to your `spec_helper.rb`:
25+
26+
```ruby
27+
require 'rspec/collection_matchers'
28+
```
29+
2430
Using `rspec-collection_matchers` you can match the number of items in a
2531
collection directly, e.g.:
2632

0 commit comments

Comments
 (0)