For my testing of a xml api, I have in my tests
get :xml_api, {:id=>1}, {:user=>User.find(1)}
Say I have a REXML document stored in my_xml, I would expect that I
could do
post :xml_api, {:id=>1}, {:user=>User.find(1)}, my_xml
But it doesn''t work. I''m using rails 1.1.6. Using curl or the
web, a
post of xml works fine.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---