RDoc Question

Just curious as to why there isn't any documentation in the RDoc on TestRequest and TestResponse.

Good question. It'd be great if you could write something up.

If I do something like

render(:text=>@something.to_json)

how do I use TestResponse to get the json data? It's not well formed HTML, obviously.

@response.inspect doesn't show the json data.

@response.body will contain what you're looking for.