diff options
Diffstat (limited to 'tests/unit/slider')
-rw-r--r-- | tests/unit/slider/slider_methods.js | 4 | ||||
-rw-r--r-- | tests/unit/slider/slider_options.js | 16 |
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); |