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 402
402:     def set_value(value)
403:       @value = value
404:     end

[Source]

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

[Validate]