Skip to content
Permalink
Browse files

Draggable Tests: Fix failures due to fractional widths

  • Loading branch information
mikesherov committed Aug 21, 2014
1 parent e12e3e1 commit cedf91c0a9d2cf75f0907b9e098eacc6f1ba0891
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/unit/draggable/draggable_core.js
@@ -360,8 +360,8 @@ test( "setting right/bottom css shouldn't cause resize", function() {
finalOffset.left += 50;
finalOffset.top += 50;

equal( element.width(), origWidth, "element retains width" );
equal( element.height(), origHeight, "element retains height" );
closeEnough( element.width(), origWidth, 1, "element retains width" );
closeEnough( element.height(), origHeight, 1, "element retains height" );
deepEqual( finalOffset, origOffset, "element moves the correct distance" );
});

0 comments on commit cedf91c

Please sign in to comment.
You can’t perform that action at this time.