method
assert_valid
v1.1.6 -
Show latest stable
- Class:
Test::Unit::Assertions
assert_valid(record)public
ensures that the passed record is valid by active record standards. returns the error messages if not
assert_valid(record)ensures that the passed record is valid by active record standards. returns the error messages if not