# THIS which used to submit the form
form = select_form 'trip' do |form|
form.trip.destination = "bahamas"
end
# WILL NOW LOOK LIKE THIS
form = select_form 'trip' do |form|
form.trip.destination = "bahamas"
end
form.submit
This doesn’t affect the usage of submit_form which still acts as expected.
This will be included in the next release of form_test_helper. Currently trunk for form_test_helper works with Rails 2.0.0 and higher (including today’s most recent trunk commit).
The form_test_helper edge docs have been updated as well and can be found “here”:http://continuous.rubyforge.org/form_test_helper/rdoc/
blog comments powered by Disqus