[rspec-users] Can cucumber/webrat set a value on a hidden field

Bart Zonneveld zuperinfinite at gmail.com
Thu Feb 5 10:34:02 EST 2009


On 4-feb-2009, at 19:49, Tom Hoen wrote:

> According to this documentation
> (http://gitrdoc.com/brynary/webrat/tree/master/classes/Webrat/ 
> Scope.html)
> there should be a set_hidden_field method. But the method no longer
> appears to be in the webrat/core/scope.rb file

Probably because it didn't appear *yet* into that file :).
I got bitten by the fact that I was using the wrong version of webrat  
some days ago.
Using version 0.4.1, I can succesfully set hidden field using  
set_hidden_field.


hope this helps,
bartz


More information about the rspec-users mailing list