diff options
author | Corey Frang <gnarf@gnarf.net> | 2012-10-21 16:46:38 -0500 |
---|---|---|
committer | Corey Frang <gnarf@gnarf.net> | 2012-10-21 16:46:57 -0500 |
commit | 8b76684a92d7340175284bb369426f0164673b0a (patch) | |
tree | 1809727e4d81b76d52c0a29c5bace971eddfe93a /tests | |
parent | fd9b355a8e4f4a18b719905004a4ac346be691bb (diff) | |
download | jquery-ui-8b76684a92d7340175284bb369426f0164673b0a.tar.gz jquery-ui-8b76684a92d7340175284bb369426f0164673b0a.zip |
Effects: Allow 'null' for options - Fixes #8670 - null reference when using effects - Closes gh-783
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/effects/effects_core.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit/effects/effects_core.js b/tests/unit/effects/effects_core.js index 9b4787a57..c4e5c24f9 100644 --- a/tests/unit/effects/effects_core.js +++ b/tests/unit/effects/effects_core.js @@ -31,6 +31,17 @@ test( "Immediate Return Conditions", function() { equal( ++count, 3, "Both Functions worked properly" ); }); +asyncTest( "Parse of null for options", function() { + var hidden = $( "div.hidden" ), + count = 0; + expect( 1 ); + hidden.show( "blind", null, 1, function() { + equal( ++count, 1, "null for options still works" ); + start(); + }); +}); + + /* TODO: Disabled - Can't figure out why this is failing in IE 6/7 test( "createWrapper and removeWrapper retain focused elements (#7595)", function() { expect( 2 ); |