From 8b110f26082813530b85f65b9eb25a8d1e045aa9 Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Mon, 4 Mar 2013 11:48:24 -0500 Subject: [PATCH] Draggable Tests: refix failed tests --- tests/unit/draggable/draggable_common.js | 6 ------ tests/unit/draggable/draggable_options.js | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/unit/draggable/draggable_common.js b/tests/unit/draggable/draggable_common.js index 498b9f9e7..2c2ad1ead 100644 --- a/tests/unit/draggable/draggable_common.js +++ b/tests/unit/draggable/draggable_common.js @@ -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, diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index c000a136b..2d182fb6b 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -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 ] );