aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button/button_events.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/button/button_events.js')
-rw-r--r--tests/unit/button/button_events.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/unit/button/button_events.js b/tests/unit/button/button_events.js
index 40d2a1a96..ad83101d0 100644
--- a/tests/unit/button/button_events.js
+++ b/tests/unit/button/button_events.js
@@ -1,8 +1,16 @@
/*
* button_events.js
*/
-(function() {
+(function($) {
module("button: events");
+test("buttonset works with single-quote named elements (#7505)", function() {
+ expect( 1 );
+ $("#radio3").buttonset();
+ $("#radio33").click( function(){
+ ok( true, "button clicks work with single-quote named elements" );
+ }).click();
+});
+
})(jQuery);