From 38c6cf13829c7d010ca2575ad86526ee57c879ae Mon Sep 17 00:00:00 2001 From: Dave Stein Date: Mon, 2 Dec 2013 19:12:21 -0500 Subject: Draggable: Test fix regarding static scrolling No longer checking scroll positions of static scrolls since the fixture is in an absolute container. Closes gh-1145 --- tests/unit/draggable/draggable_options.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/draggable/draggable_options.js b/tests/unit/draggable/draggable_options.js index 11a3c6840..59ec9ce35 100644 --- a/tests/unit/draggable/draggable_options.js +++ b/tests/unit/draggable/draggable_options.js @@ -678,7 +678,8 @@ test( "helper, default, switching after initialization", function() { }, positions = [ "absolute", "fixed", "relative", "static" ], helpers = [ "original", "clone" ], - scrollPositions = [ "relative", "static", "absolute", "fixed" ]; + // static is not an option here since the fixture is in an absolute container + scrollPositions = [ "relative", "absolute", "fixed" ]; for ( m = 0 ; m < helpers.length; m++ ) { for ( l = 0; l < positions.length; l++ ) { -- cgit v1.2.3