mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-20 09:11:40 +01:00
Added jQuery 1.9 to the project. Closes gh-613
This commit is contained in:
committed by
Jörn Zaefferer
parent
ab74256e54
commit
0681cc06c5
@@ -696,7 +696,7 @@ test("findLastActive()", function() {
|
||||
|
||||
test("validating multiple checkboxes with 'required'", function() {
|
||||
expect(3);
|
||||
var checkboxes = $("#form input[name=check3]").attr("checked", false);
|
||||
var checkboxes = $("#form input[name=check3]").prop("checked", false);
|
||||
equal(checkboxes.size(), 5);
|
||||
var v = $("#form").validate({
|
||||
rules: {
|
||||
@@ -705,7 +705,7 @@ test("validating multiple checkboxes with 'required'", function() {
|
||||
});
|
||||
v.form();
|
||||
equal(v.size(), 1);
|
||||
checkboxes.filter(":last").attr("checked", true);
|
||||
checkboxes.filter(":last").prop("checked", true);
|
||||
v.form();
|
||||
equal(v.size(), 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user