aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2012-12-15 23:42:24 -0500
committerRichard Gibson <richard.gibson@gmail.com>2012-12-15 23:42:24 -0500
commit30e2ffbeb869bb2f65ef139633c68a1c62f0e892 (patch)
treef5133f14b8be5a55d9d6ca78a3b24a14b9ad16e2 /test/unit
parenta763ae72775f69509d0a8a6b50702bcf2c7e6fbf (diff)
downloadjquery-30e2ffbeb869bb2f65ef139633c68a1c62f0e892.tar.gz
jquery-30e2ffbeb869bb2f65ef139633c68a1c62f0e892.zip
Resolve a763ae72 test failures
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/manipulation.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index fe9f6c203..35beb5267 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -475,10 +475,7 @@ var testAppend = function( valueObj ) {
d.remove();
equal( jQuery("#nonnodes").contents().length, 3, "Check node,textnode,comment append cleanup worked" );
- $input = jQuery("<input />").attr({
- "type": "checkbox",
- "checked": true
- }).appendTo("#testForm");
+ $input = jQuery("<input type='checkbox'/>").prop( "checked", true ).appendTo("#testForm");
equal( $input[ 0 ].checked, true, "A checked checkbox that is appended stays checked" );
$radioChecked = jQuery("input:radio[name='R1']").eq( 1 );