aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-20 16:25:04 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-25 15:44:43 -0400
commitaf35f0bbc9064ec66bee19c730bf4cb9de2834db (patch)
tree79e2e0aba8b9436ef9ab9d8c36537c7781cb3b3b /tests
parent63b89b7884d72d026f67c29eb234ebc1be738aa0 (diff)
downloadjquery-ui-af35f0bbc9064ec66bee19c730bf4cb9de2834db.tar.gz
jquery-ui-af35f0bbc9064ec66bee19c730bf4cb9de2834db.zip
Spinner: Changed casing of option numberformat -> numberFormat.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/spinner/spinner_defaults.js2
-rw-r--r--tests/unit/spinner/spinner_options.js14
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/unit/spinner/spinner_defaults.js b/tests/unit/spinner/spinner_defaults.js
index f6081b1f3..c9a7d5f62 100644
--- a/tests/unit/spinner/spinner_defaults.js
+++ b/tests/unit/spinner/spinner_defaults.js
@@ -4,7 +4,7 @@ commonWidgetTests( "spinner", {
incremental: true,
max: null,
min: null,
- numberformat: null,
+ numberFormat: null,
page: 10,
step: null,
value: null,
diff --git a/tests/unit/spinner/spinner_options.js b/tests/unit/spinner/spinner_options.js
index 3db7e5c55..398780ad2 100644
--- a/tests/unit/spinner/spinner_options.js
+++ b/tests/unit/spinner/spinner_options.js
@@ -5,26 +5,26 @@
module("spinner: options");
-test("numberformat, number", function() {
+test("numberFormat, number", function() {
var el = $("#spin").spinner({
value: "1",
- numberformat: "n"
+ numberFormat: "n"
});
equal(el.val(), "1.00");
});
-test("numberformat, number, simple", function() {
+test("numberFormat, number, simple", function() {
var el = $("#spin").spinner({
value: "1",
- numberformat: "n0"
+ numberFormat: "n0"
});
equal(el.val(), "1");
});
-test("numberformat, currency", function() {
+test("numberFormat, currency", function() {
var el = $("#spin").spinner({
value: "1",
- numberformat: "C"
+ numberFormat: "C"
});
equal(el.val(), "$1.00");
});
@@ -111,7 +111,7 @@ test("step, 2", function() {
test("step, 0.7", function() {
var el = $("#spin").spinner({
step: 0.7,
- numberformat: "n1"
+ numberFormat: "n1"
});
equals(el.val(), "0.0", "value initialized to");