aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectable/selectable_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/selectable/selectable_options.js')
-rw-r--r--tests/unit/selectable/selectable_options.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/selectable/selectable_options.js b/tests/unit/selectable/selectable_options.js
index be9fdf5fe..ad57000a9 100644
--- a/tests/unit/selectable/selectable_options.js
+++ b/tests/unit/selectable/selectable_options.js
@@ -13,7 +13,7 @@ test("autoRefresh", function() {
actual = 0;
el = $("#selectable1").selectable({ autoRefresh: false, selected: selected });
sel.hide();
- drag(1000, 1000);
+ TestHelpers.selectableDrag(1000, 1000);
equal(actual, sel.length);
el.selectable("destroy");
@@ -21,10 +21,10 @@ test("autoRefresh", function() {
sel.show();
el = $("#selectable1").selectable({ autoRefresh: true, selected: selected });
sel.hide();
- drag(1000, 1000);
+ TestHelpers.selectableDrag(1000, 1000);
equal(actual, 0);
sel.show();
- drag(1000, 1000);
+ TestHelpers.selectableDrag(1000, 1000);
equal(actual, sel.length);
el.selectable("destroy");
sel.show();
@@ -37,7 +37,7 @@ test("filter", function() {
actual = 0;
el = $("#selectable1").selectable({ filter: '.special', selected: selected });
- drag(1000, 1000);
+ TestHelpers.selectableDrag(1000, 1000);
ok(sel.length !== 1, "this test assumes more than 1 selectee");
equal(actual, 1);
el.selectable("destroy");