Skip to content

Commit 4b917bb

Browse files
committed
Merge pull request #141 from msquitieri/add_gotcha_to_readme
Added clarification in README
2 parents 9019dde + 87aa539 commit 4b917bb

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)