[webrat] duplicate form input names being posted

3 views
Skip to first unread message

robert

unread,
May 6, 2010, 2:37:55 PM5/6/10
to webrat
Hi all,

I have a form input that looks something like:

<input type="text" name="thing"/>

... followed by a submit and wrapped by a form element of course.

When I use webrat as follows:

fill_in thing, :with => 'avalue'
click_button 'submit'

I see in the logs that the post data contains a parameter:

'thingthing'

in fact all of the named inputs have doubled.

Any tips?

Thanks,
Robert

--
You received this message because you are subscribed to the Google Groups "webrat" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to webrat+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webrat?hl=en.

Reply all
Reply to author
Forward
0 new messages