aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2012-01-31 02:23:04 +0100
committerjaubourg <j@ubourg.net>2012-01-31 02:23:04 +0100
commit6eba066573db377a0e565ac010346b6c9e718a04 (patch)
tree1d92f68fe19acedf82ac558ab96aebded7decf04
parent3f88249b44d30b079f0f7b4b0b85b936d86cd300 (diff)
downloadjquery-6eba066573db377a0e565ac010346b6c9e718a04.tar.gz
jquery-6eba066573db377a0e565ac010346b6c9e718a04.zip
Adds unit test to exhibit #10952
-rw-r--r--test/unit/callbacks.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/callbacks.js b/test/unit/callbacks.js
index 03d969319..acc88f2c2 100644
--- a/test/unit/callbacks.js
+++ b/test/unit/callbacks.js
@@ -39,7 +39,7 @@ jQuery.each( tests, function( flags, resultString ) {
test( "jQuery.Callbacks( \"" + flags + "\" ) - " + filterLabel, function() {
- expect( 19 );
+ expect( 20 );
// Give qunit a little breathing room
stop();
@@ -56,6 +56,7 @@ jQuery.each( tests, function( flags, resultString ) {
});
cblist.fire( "A" );
strictEqual( output, "XA", "Basic binding and firing" );
+ strictEqual( cblist.fired(), true, ".fired() detects firing" );
output = "X";
cblist.disable();
cblist.add(function( str ) {