Module: Response::JSONParser
- Defined in:
- lib/spec/response_helper.rb
Overview
Parses the last response body as JSON.
Instance Method Summary collapse
Instance Method Details
#response_body ⇒ Object
6 7 8 |
# File 'lib/spec/response_helper.rb', line 6 def response_body JSON.parse(response.body) end |