Does anyone know how you can specify the body of an HttpMock post as
well as the body of the response?

I'm trying to test a restful API where the parameters are posted in in
the body of the post as XML and the response is XML in the response
body.

As far as I can tell, you can only specify one body in a mock object?

Thanks,
Tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to