Updated the tests test JQuery param.

Added a new test to validate that the element union now accepts JQuery object.
This commit is contained in:
Louis-Philippe Perras
2015-02-04 18:09:38 -05:00
parent d34679d362
commit e8a6d12dc7

View File

@@ -187,6 +187,7 @@ function test_methods() {
});
$("#myform").validate().form();
$("#myform").validate().element("#myselect");
$("#myform").validate().element($("#myselect"));
var validator = $("#myform").validate();
validator.resetForm();
validator.showErrors({ "firstname": "I know that your firstname is Pete, Pete!" });