README.md in rspec-api_helpers-0.0.1 vs README.md in rspec-api_helpers-0.0.2
- old
+ new
@@ -21,9 +21,22 @@
## Usage
This Gem expects you to have set your rspec to use Rake::Test helpers as described
[here](https://gist.github.com/alex-zige/5795358) because it checks `last_response`
attributes.
+In your `rails_helper.rb` add in the top:
+
+```ruby
+require 'rspec/api_helpers'
+```
+
+and then you only need to include the helpers in your rspec examples. You can include them on all api (:type => :api) helpers by adding the following line in your rspec config:
+
+```ruby
+ config.include Rspec::ApiHelpers, type: :api
+```
+
+
### Examples
```ruby
it_returns_status(200)
```