Skip to content
Permalink
Browse files

Slider tests: Commented out incomplete tests and fixed defaults.

  • Loading branch information
scottgonzalez committed Jul 28, 2011
1 parent 719db7f commit cec60ab3c317bf920eb2ab665adf958357db29ce
@@ -1,7 +1,7 @@
commonWidgetTests( "slider", {
defaults: {
animate: false,
cancel: function() {},
cancel: ':input,option',
delay: 0,
disabled: false,
distance: 0,
@@ -95,8 +95,8 @@ 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.");
});
//test("values", function() {
// ok(false, "missing test - untested code is broken code.");
//});

})(jQuery);
@@ -84,9 +84,9 @@ test("orientation", function() {

});

test("range", function() {
ok(false, "missing test - untested code is broken code.");
});
//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.
@@ -135,12 +135,12 @@ el = $('<div></div>').slider({
el.slider('destroy');
});

test("value", function() {
ok(false, "missing test - untested code is broken code.");
});
//test("value", function() {
// ok(false, "missing test - untested code is broken code.");
//});

test("values", function() {
ok(false, "missing test - untested code is broken code.");
});
//test("values", function() {
// ok(false, "missing test - untested code is broken code.");
//});

})(jQuery);

0 comments on commit cec60ab

Please sign in to comment.
You can’t perform that action at this time.