From: David Spurr <david.sp...@gmail.com>
Date: Wed, 27 Feb 2008 17:58:31 -0800 (PST)
Local: Wed, Feb 27 2008 8:58 pm
Subject: Re: Functional testing Rails controllers with RubyAMF?
Well I'm trying to knock together some sort of helper that would aid
functional testing with RubyAMF. My idea goes along the lines of this:
Have a helper that defines a post_amf method, using this from your
Inside the post_amf method it switches out the controller your testing
amf_post :index, [ :param = 'something' ]
1. Serializes the request, with the source set to the name of the
If that works then that 'should' be calling the amf gateway with
Then you would also need a helper method to test that the response was
I know I'm over-simplifying things there (as I have spent the past
That code has it calling the gateway how I envisioned it, but I'm
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||