DEfusion (4) [Avatar] Offline
I absolutely loved the book, and since finishing reading it I can't wait to get started on integrating Flex with my rails app. But there will be lots of re-factoring needed and my tests weren't up to scratch so I've been concentrating on that.

But I'll soon be getting to the point of re-factoring my rails app to be able to accept params the way RubyAMF sends them and respond accordingly in the respond_to. One thing I'm not sure of is how I would fake AMF requests to the actions in my functional tests. I'm sure I can fake the params structure easily, but as for the is_amf (which is set in actions.rb) and getting it to call the correct respond_to.

Do you have any experience with functional testing and RubyAMF? As I couldn't bear to not test the controller for RubyAMF requests.