aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner/spinner_methods.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/spinner/spinner_methods.js')
-rw-r--r--tests/unit/spinner/spinner_methods.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/unit/spinner/spinner_methods.js b/tests/unit/spinner/spinner_methods.js
index fb58edbdf..b47f68a5c 100644
--- a/tests/unit/spinner/spinner_methods.js
+++ b/tests/unit/spinner/spinner_methods.js
@@ -17,16 +17,16 @@ test("disable", function() {
ok(wrapper.hasClass("ui-spinner-disabled"), "after: wrapper has ui-spinner-disabled class");
ok(el.is(':disabled'), "after: input has disabled attribute");
- simulateKeyDownUp(el, $.ui.keyCode.UP);
+ spinner_simulateKeyDownUp(el, $.ui.keyCode.UP);
equals(val, el.val(), "keyboard - value does not change on key UP");
- simulateKeyDownUp(el, $.ui.keyCode.DOWN);
+ spinner_simulateKeyDownUp(el, $.ui.keyCode.DOWN);
equals(val, el.val(), "keyboard - value does not change on key DOWN");
- simulateKeyDownUp(el, $.ui.keyCode.PAGE_UP);
+ spinner_simulateKeyDownUp(el, $.ui.keyCode.PAGE_UP);
equals(val, el.val(), "keyboard - value does not change on key PGUP");
- simulateKeyDownUp(el, $.ui.keyCode.PAGE_DOWN);
+ spinner_simulateKeyDownUp(el, $.ui.keyCode.PAGE_DOWN);
equals(val, el.val(), "keyboard - value does not change on key PGDN");
wrapper.find(":ui-button").first().trigger('mousedown').trigger('mouseup');