aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/widget/widget_core.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js
index 1e40c4080..24ae9c567 100644
--- a/tests/unit/widget/widget_core.js
+++ b/tests/unit/widget/widget_core.js
@@ -749,11 +749,11 @@ test( "_on() with delegate", function() {
$.ui.testWidget();
});
-test( "_bind() to common element", function() {
+test( "_on() to common element", function() {
expect( 1 );
$.widget( "ui.testWidget", {
_create: function() {
- this._bind( this.document, {
+ this._on( this.document, {
"customevent": "_handler"
});
},