Skip to content
Permalink
Browse files

Modified resizable grid test for #2939

  • Loading branch information
eduardolundgren committed Jun 4, 2008
1 parent 26c16a7 commit 9047a630494e63e7fd6262fcf3f39e0ae78f1c31
Showing with 4 additions and 4 deletions.
  1. +4 −4 ui/tests/resizable.js
@@ -359,20 +359,20 @@ test("ui-resizable-ne { aspectRatio: 'preserve', handles: 'all', minWidth: 70, m

module("Options");

test("ui-resizable-se { handles: 'all', gird: [20, 20] }", function() {
test("ui-resizable-se { handles: 'all', gird: [0, 20] }", function() {

var handle = '.ui-resizable-se', target = $('#resizable1').resizable({ handles: 'all', grid: [20, 20] });
var handle = '.ui-resizable-se', target = $('#resizable1').resizable({ handles: 'all', grid: [0, 20] });

expect(4);

drag(handle, 10, 10);

equals( 100, target.width(), "compare width");
equals( 109, target.width(), "compare width");
equals( 100, target.height(), "compare height");

drag(handle, 30, 30);

equals( 120, target.width(), "compare width");
equals( 138, target.width(), "compare width");
equals( 120, target.height(), "compare height");


0 comments on commit 9047a63

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