TestResponse Object

We’re trying to write a test that receives xml from a controller
method.

I want to receive the XML, convert it to an REXML object, and test the
generated XML relative to my fixtures.

Before I start diving into the TestResponse class, I thought I’d check
to see if anyone has any opinions on how best to accomplish this. Most
of the online docs refer to HTML type tests and return codes.

repost

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs