Closed senny closed 11 years ago
It should be possible to assert that the form contains a set of attributes. A possible interface could look like:
form.attribtues
form.assert_attributes(attribute_hash)
This has been implemented. Closing...
It should be possible to assert that the form contains a set of attributes. A possible interface could look like:
form.attribtues
# should return a hash of label, values from the formform.assert_attributes(attribute_hash)
# attribute_hash has labels texts as keys and the text as values.