mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Draggable Tests: refix failed tests
This commit is contained in:
parent
fec3319b20
commit
8b110f2608
@ -29,12 +29,6 @@ TestHelpers.commonWidgetTests( "draggable", {
|
||||
zIndex: false,
|
||||
cancel: null,
|
||||
|
||||
//todo: remove the following option checks when interactions are rewritten:
|
||||
addClasses: true,
|
||||
delay: 0,
|
||||
distance: 1,
|
||||
iframeFix: false,
|
||||
|
||||
// callbacks
|
||||
beforeStart: null,
|
||||
create: null,
|
||||
|
@ -40,7 +40,7 @@ test( "{ appendTo: 'parent' }, default", function() {
|
||||
|
||||
TestHelpers.draggable.trackAppendedParent( element );
|
||||
|
||||
equal( element.draggable( "option", "appendTo" ), "parent" );
|
||||
equal( element.draggable( "option", "appendTo" ), null );
|
||||
|
||||
TestHelpers.draggable.move( element, 1, 1 );
|
||||
equal( element.data( "last_dragged_parent" ), $( "#qunit-fixture" )[ 0 ] );
|
||||
|
Loading…
Reference in New Issue
Block a user