aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/slider
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-07-28 09:53:36 -0400
committerScott González <scott.gonzalez@gmail.com>2011-07-28 09:53:36 -0400
commitcd745897ee2c8ee13dc648025dfc60d12dfba215 (patch)
treec12cad9147d9c1f1defaf3f72a4933ac43034ebb /tests/unit/slider
parentc3c6daf6a941ce83bf80e73218694ac36d0ec636 (diff)
downloadjquery-ui-cd745897ee2c8ee13dc648025dfc60d12dfba215.tar.gz
jquery-ui-cd745897ee2c8ee13dc648025dfc60d12dfba215.zip
Tests: Deleted failing widget tests.
Diffstat (limited to 'tests/unit/slider')
-rw-r--r--tests/unit/slider/slider_methods.js4
-rw-r--r--tests/unit/slider/slider_options.js16
2 files changed, 2 insertions, 18 deletions
diff --git a/tests/unit/slider/slider_methods.js b/tests/unit/slider/slider_methods.js
index 4b2b0311d..07bde4626 100644
--- a/tests/unit/slider/slider_methods.js
+++ b/tests/unit/slider/slider_methods.js
@@ -95,8 +95,4 @@ test("value", function() {
equals(el.slider('option', 'value'), 1, 'value method set respects max');
});
-test("values", function() {
- ok(false, "missing test - untested code is broken code.");
-});
-
})(jQuery);
diff --git a/tests/unit/slider/slider_options.js b/tests/unit/slider/slider_options.js
index b9a766539..797dcb094 100644
--- a/tests/unit/slider/slider_options.js
+++ b/tests/unit/slider/slider_options.js
@@ -84,10 +84,6 @@ test("orientation", function() {
});
-test("range", function() {
- ok(false, "missing test - untested code is broken code.");
-});
-
//spec: http://wiki.jqueryui.com/Slider#specs
// value option/method: the value option is not restricted by min/max/step.
// What is returned by the value method is restricted by min (>=), max (<=), and step (even multiple)
@@ -96,7 +92,7 @@ test("step", function() {
min: 0,
value: 0,
step: 10,
- max: 100,
+ max: 100
});
equals( el.slider("value"), 0 );
@@ -116,7 +112,7 @@ el = $('<div></div>').slider({
min: 0,
value: 0,
step: 20,
- max: 100,
+ max: 100
});
el.slider("value", 0);
@@ -135,12 +131,4 @@ el = $('<div></div>').slider({
el.slider('destroy');
});
-test("value", function() {
- ok(false, "missing test - untested code is broken code.");
-});
-
-test("values", function() {
- ok(false, "missing test - untested code is broken code.");
-});
-
})(jQuery);