Class FormTestHelper::Hidden
In: lib/form_test_helper.rb
Parent: Field

Methods

set_value   value=  

Public Instance methods

Permit changing the value of a hidden field (as if using Javascript)

[Source]

     # File lib/form_test_helper.rb, line 442
442:     def set_value(value)
443:       @value = value
444:     end

[Source]

     # File lib/form_test_helper.rb, line 437
437:     def value=(value)
438:       raise TypeError, "Can't modify hidden field's value"
439:     end

[Validate]