Skip to content

Commit 2e2a2b2

Browse files
committed
Merge branch 'master' of github.com:zipmark/rspec_api_documentation
2 parents ed8e5d4 + 4b917bb commit 2e2a2b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,3 +628,4 @@ $ rspec spec/acceptance --format RspecApiDocumentation::ApiFormatter
628628

629629
- rspec_api_documentation relies on a variable `client` to be the test client. If you define your own `client` please configure rspec_api_documentation to use another one, see Configuration above.
630630
- We make heavy use of RSpec metadata, you can actually use the entire gem without the DSL if you hand write the metadata.
631+
- You must use `response_body`, `status`, `response_content_type`, etc. to access data from the last response. You will not be able to use `response.body` or `response.status` as the response object will not be created.

0 commit comments

Comments
 (0)