I'd like to write a functional test of a RESTful web service I'm working on in a Ruby on Rails app.
The test is of a POST request where the body of the request is a plain XML doc and not a form. Any pointers on how to do this? The problem I'm encountering is how to specify the body XML in the call to the post method.