@@ -156,7 +156,7 @@ test( "axis, default, switching after initialization", function() {
156
156
} ) ;
157
157
158
158
test ( "{ cancel: 'input,textarea,button,select,option' }, default" , function ( ) {
159
- expect ( 2 ) ;
159
+ expect ( 4 ) ;
160
160
161
161
$ ( "<div id='draggable-option-cancel-default'><input type='text'></div>" ) . appendTo ( "#qunit-fixture" ) ;
162
162
@@ -171,7 +171,7 @@ test( "{ cancel: 'input,textarea,button,select,option' }, default", function() {
171
171
} ) ;
172
172
173
173
test ( "{ cancel: 'span' }" , function ( ) {
174
- expect ( 2 ) ;
174
+ expect ( 4 ) ;
175
175
176
176
var element = $ ( "#draggable2" ) . draggable ( ) ;
177
177
TestHelpers . draggable . shouldMove ( element , "cancel: default, span dragged" , "#draggable2 span" ) ;
@@ -228,7 +228,7 @@ test( "{ cancel: Selectors }, matching parent selector", function() {
228
228
*/
229
229
230
230
test ( "cancelement, default, switching after initialization" , function ( ) {
231
- expect ( 2 ) ;
231
+ expect ( 6 ) ;
232
232
233
233
$ ( "<div id='draggable-option-cancel-default'><input type='text'></div>" ) . appendTo ( "#qunit-fixture" ) ;
234
234
@@ -615,7 +615,7 @@ test( "cursorAt, switching after initialization", function() {
615
615
} ) ;
616
616
617
617
test ( "disabled" , function ( ) {
618
- expect ( 4 ) ;
618
+ expect ( 6 ) ;
619
619
620
620
var element = $ ( "#draggable1" ) . draggable ( ) ;
621
621
@@ -660,7 +660,7 @@ test( "grid, switching after initialization", function() {
660
660
} ) ;
661
661
662
662
test ( "{ handle: 'span' }" , function ( ) {
663
- expect ( 4 ) ;
663
+ expect ( 6 ) ;
664
664
665
665
var element = $ ( "#draggable2" ) . draggable ( { handle : "span" } ) ;
666
666
@@ -670,7 +670,7 @@ test( "{ handle: 'span' }", function() {
670
670
} ) ;
671
671
672
672
test ( "handle, default, switching after initialization" , function ( ) {
673
- expect ( 10 ) ;
673
+ expect ( 12 ) ;
674
674
675
675
var element = $ ( "#draggable2" ) . draggable ( ) ;
676
676
0 commit comments