method
assert_valid
rails 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