diff options
author | Scott González <scott.gonzalez@gmail.com> | 2015-04-07 10:30:07 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2015-04-09 09:26:58 -0400 |
commit | dc4b015a8b9acdb5bff2d5dd89737b3d8b64097f (patch) | |
tree | f2dc9ecccc32b33622aef1e597992e5a668efe56 /tests/unit/dialog/dialog_events.js | |
parent | 42566bdd037ac57cf7d6d7a5d059db2ba42518d9 (diff) | |
download | jquery-ui-dc4b015a8b9acdb5bff2d5dd89737b3d8b64097f.tar.gz jquery-ui-dc4b015a8b9acdb5bff2d5dd89737b3d8b64097f.zip |
Tests: Widget test helpers extend the main helper
Ref #10119
Ref gh-1528
Diffstat (limited to 'tests/unit/dialog/dialog_events.js')
-rw-r--r-- | tests/unit/dialog/dialog_events.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/unit/dialog/dialog_events.js b/tests/unit/dialog/dialog_events.js index a6e4c0501..cc5bef8fa 100644 --- a/tests/unit/dialog/dialog_events.js +++ b/tests/unit/dialog/dialog_events.js @@ -2,7 +2,7 @@ define( [ "jquery", "./dialog_test_helpers", "ui/dialog" -], function( $, dialogTestHelpers ) { +], function( $, testHelper ) { module("dialog: events"); @@ -104,7 +104,7 @@ test("dragStart", function() { }); handle = $(".ui-dialog-titlebar", element.dialog("widget")); - dialogTestHelpers.drag(element, handle, 50, 50); + testHelper.drag(element, handle, 50, 50); element.remove(); }); @@ -132,7 +132,7 @@ test("drag", function() { }); handle = $(".ui-dialog-titlebar", element.dialog("widget")); - dialogTestHelpers.drag(element, handle, 50, 50); + testHelper.drag(element, handle, 50, 50); element.remove(); }); @@ -156,7 +156,7 @@ test("dragStop", function() { }); handle = $(".ui-dialog-titlebar", element.dialog("widget")); - dialogTestHelpers.drag(element, handle, 50, 50); + testHelper.drag(element, handle, 50, 50); element.remove(); }); @@ -184,7 +184,7 @@ test("resizeStart", function() { }); handle = $(".ui-resizable-se", element.dialog("widget")); - dialogTestHelpers.drag(element, handle, 50, 50); + testHelper.drag(element, handle, 50, 50); element.remove(); }); @@ -216,7 +216,7 @@ test("resize", function() { }); handle = $(".ui-resizable-se", element.dialog("widget")); - dialogTestHelpers.drag(element, handle, 50, 50); + testHelper.drag(element, handle, 50, 50); element.remove(); }); @@ -244,7 +244,7 @@ test("resizeStop", function() { }); handle = $(".ui-resizable-se", element.dialog("widget")); - dialogTestHelpers.drag(element, handle, 50, 50); + testHelper.drag(element, handle, 50, 50); element.remove(); }); |