FormTestHelper rules. It tests your response.body form at the same
time as it triggers your action, with all the parameters in that form.
This obviously improves quality.
But it took issue with this:
submit_form 'validate_stuff' do |form| form['IBhidden'] = 'validate' end
The field IBhidden is a hidden field. To be fair, FTH erred on the
side of matching what a user can do. Users can’t change hidden fields,
so FTH threw “TypeError: Can’t modify hidden field’s value”.
freely on that field. So instead of making a federal case out of this,
I monkey-patched FTH:
class Hidden < Field
For FTH’s next version, who’s right? FTH, me, or both?
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!