Draggable Tests: refix failed tests

This commit is contained in:
Mike Sherov 2013-03-04 11:48:24 -05:00
parent fec3319b20
commit 8b110f2608
2 changed files with 1 additions and 7 deletions

View File

@ -29,12 +29,6 @@ TestHelpers.commonWidgetTests( "draggable", {
zIndex: false, zIndex: false,
cancel: null, cancel: null,
//todo: remove the following option checks when interactions are rewritten:
addClasses: true,
delay: 0,
distance: 1,
iframeFix: false,
// callbacks // callbacks
beforeStart: null, beforeStart: null,
create: null, create: null,

View File

@ -40,7 +40,7 @@ test( "{ appendTo: 'parent' }, default", function() {
TestHelpers.draggable.trackAppendedParent( element ); TestHelpers.draggable.trackAppendedParent( element );
equal( element.draggable( "option", "appendTo" ), "parent" ); equal( element.draggable( "option", "appendTo" ), null );
TestHelpers.draggable.move( element, 1, 1 ); TestHelpers.draggable.move( element, 1, 1 );
equal( element.data( "last_dragged_parent" ), $( "#qunit-fixture" )[ 0 ] ); equal( element.data( "last_dragged_parent" ), $( "#qunit-fixture" )[ 0 ] );