Skip to content

Commit

Permalink
Fixed failing test after upgrade to jQuery 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
seriema committed Jan 30, 2013
1 parent 6f204b6 commit 3d96c17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Expand Up @@ -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: {
Expand All @@ -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);
});
Expand Down

0 comments on commit 3d96c17

Please sign in to comment.