This question went unanswered on talk, I have the same question:

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

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.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to