File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ QUnit.test( "add", function( assert ) {
169169 assert . equal ( addFixture . length , 3 , "add(two) Passed!" ) ;
170170
171171 addFixture = $ ( '#id-fixture' ) . add ( $ ( '#qunit-fixture a' ) ) . add ( $ ( '#qunit-fixture input' ) ) ;
172- assert . equal ( addFixture . length , 15 , "add(collections) Passed!" ) ;
172+ assert . equal ( addFixture . length , 16 , "add(collections) Passed!" ) ;
173173
174174 addFixture = $ ( '#qunit-fixture a' ) . first ( ) . add ( $ ( '#qunit-fixture a' ) ) ;
175175 assert . equal ( addFixture . length , 5 , "add(no duplicates) Passed!" ) ;
@@ -338,7 +338,7 @@ QUnit.test( "serialize", function( assert ) {
338338 var data = $ ( '.form-fixture' ) . serialize ( ) ;
339339 assert . equal ( data , "hidden=5&text=text&checkbox-yes=yes&radio=yes&select=selected&select-multiple=option-1&select-multiple=option-2" , "serialize Passed!" ) ;
340340
341- data = $ ( "input, textarea, select" ) . serialize ( ) ;
341+ data = $ ( ".form-fixture input, .form-fixture textarea, .form-fixture select" ) . serialize ( ) ;
342342 assert . equal ( data , "hidden=5&text=text&checkbox-yes=yes&radio=yes&select=selected&select-multiple=option-1&select-multiple=option-2" , "serialize Passed!" ) ;
343343} ) ;
344344
You can’t perform that action at this time.
0 commit comments