README.md in rspec-api_helpers-1.0.3 vs README.md in rspec-api_helpers-1.0.4
- old
+ new
@@ -5,11 +5,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem 'rspec-api_helpers', github: 'kollegorna/rspec-api_helpers'
+gem 'rspec-api_helpers', '1.0.3'
```
And then execute:
$ bundle
@@ -62,10 +62,10 @@
It expects the HTTP response to include this header (and value).
#### Resource
```ruby
-it_returns_attributes(resource: 'user', model: '@user', attrs: [
+it_returns_attributes(resource: 'user', model: proc{@user}, attrs: [
:email, :name
])
```
It expects the JSON resource to contain :email and :name attributes and