diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2013-01-26 23:48:59 -0500 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-01-27 00:35:42 -0500 |
commit | 24e76245544537e9f085e09d15d3b08efb171b4c (patch) | |
tree | 88bd833f20eef0d83b94efd53d8ca6a30ede844c /test/unit/attributes.js | |
parent | 3f9f2b1dbcefdafc5ef11f7deb222a3b6d8941d8 (diff) | |
download | jquery-24e76245544537e9f085e09d15d3b08efb171b4c.tar.gz jquery-24e76245544537e9f085e09d15d3b08efb171b4c.zip |
Fix #12656. Make event shorthands excludable.
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r-- | test/unit/attributes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js index 072240049..03c3d62ec 100644 --- a/test/unit/attributes.js +++ b/test/unit/attributes.js @@ -316,7 +316,7 @@ test( "attr(String, Object)", function() { equal( $input.attr("checked"), "checked", "Set checked to 'checked' (verified by .attr)" ); var $radios = jQuery("#checkedtest").find("input[type='radio']"); - $radios.eq( 1 ).click(); + $radios.eq( 1 ).trigger("click"); equal( $radios.eq( 1 ).prop("checked"), true, "Second radio was checked when clicked" ); equal( $radios.eq( 0 ).attr("checked"), "checked", "First radio is still [checked]" ); |