diff options
author | Dave Stein <dave@behance.com> | 2013-12-02 19:12:21 -0500 |
---|---|---|
committer | Mike Sherov <mike.sherov@gmail.com> | 2013-12-15 09:38:46 -0500 |
commit | 38c6cf13829c7d010ca2575ad86526ee57c879ae (patch) | |
tree | 0b62648be3fc55068b588e26e8ca5b7f2607bcbd /tests | |
parent | f4839f73a7057a21ea0506d903c4473575aed4a2 (diff) | |
download | jquery-ui-38c6cf13829c7d010ca2575ad86526ee57c879ae.tar.gz jquery-ui-38c6cf13829c7d010ca2575ad86526ee57c879ae.zip |
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
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/draggable/draggable_options.js | 3 |
1 files changed, 2 insertions, 1 deletions
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++ ) { |