Submit_form for Ajax via xhr


#1

Railsters:

The assert_select system has a submit_form method that reads your
current page’s form, and submits all its fields with their data. This
works great for Test Driven Development because it tests your current
page’s form and your controller’s action at the same time.

Is there a submit_form that calls xhr, to submit a FORM thru Ajax? How
easy would that be to add?


Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!