[rspec-devel] [ rspec-Feature Requests-6515 ] Couple GET and POST phases of forms

noreply at rubyforge.org noreply at rubyforge.org
Mon Nov 6 11:28:44 EST 2006


Feature Requests item #6515, was opened at 2006-11-06 11:28
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=6515&group_id=797

Category: rails plugin
Group: None
Status: Open
Priority: 3
Submitted By: Jay Levitt (jaylev)
Assigned to: Nobody (None)
Summary: Couple GET and POST phases of forms

Initial Comment:
I'd love to be able to do things like this plugin does for standard Rails tests:
 http://www.jasongarber.com/articles/2006/10/24/easier-testing-of-forms-form_test_helper

In a nutshell, it finally closes the loop between "the empty form sent
by a get" and "the filled-in form returned on a post".  Instead of
blindly posting parameters, you're now actually filling in form fields
in the tests.  Works with hidden fields and everything, too.

It'd be nice to see rspec do something like that.

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3152&aid=6515&group_id=797


More information about the rspec-devel mailing list