aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/spinner
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/spinner')
-rw-r--r--tests/unit/spinner/spinner_events.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/spinner/spinner_events.js b/tests/unit/spinner/spinner_events.js
index 610f7a2ec..007d34cf7 100644
--- a/tests/unit/spinner/spinner_events.js
+++ b/tests/unit/spinner/spinner_events.js
@@ -122,7 +122,7 @@ test( "stop", function() {
});
asyncTest( "change", function() {
- expect( 14 );
+ expect( 12 );
var element = $( "#spin" ).spinner();
function shouldChange( expectation, msg ) {
@@ -239,13 +239,13 @@ asyncTest( "change", function() {
shouldChange( false, "value, same value" );
element.spinner( "value", 999 );
- shouldChange( true, "max, value changed" );
+ shouldChange( false, "max, value not changed" );
element.spinner( "option", "max", 900 );
shouldChange( false, "max, value not changed" );
element.spinner( "option", "max", 1000 );
- shouldChange( true, "min, value changed" );
+ shouldChange( false, "min, value not changed" );
element.spinner( "option", "min", 950 );
shouldChange( false, "min, value not changed" );