force round numbers to avoid testing step rounding in keypress tests

This commit is contained in:
John Bender 2011-11-23 10:12:29 -08:00
parent 3e47bff3ff
commit 3b83d4e032

View file

@ -6,8 +6,15 @@
var onChangeCnt = 0;
window.onChangeCounter = function() {
onChangeCnt++;
}
module('jquery.mobile.slider.js');
};
module('jquery.mobile.slider.js', {
setup: function() {
// force the value to be an increment of 10 when we aren't
// testing the rounding
$("#stepped").val( 20 );
}
});
var keypressTest = function(opts){
var slider = $(opts.selector),