]> source.dussan.org Git - jquery-ui.git/commitdiff
Widget tests: Fixed _super() call in redefine test.
authorScott González <scott.gonzalez@gmail.com>
Mon, 21 Nov 2011 13:43:08 +0000 (08:43 -0500)
committerScott González <scott.gonzalez@gmail.com>
Mon, 21 Nov 2011 13:43:08 +0000 (08:43 -0500)
tests/unit/widget/widget_core.js

index edf1ae0fc7ef522dc8048d2b1966e38b6061ab6f..2e55ad703186c41fdccb0557044d4f024f1f723b 100644 (file)
@@ -1031,7 +1031,7 @@ test( "redefine", function() {
        $.widget( "ui.testWidget", $.ui.testWidget, {
                method: function( str ) {
                        equal( str, "foo", "new invoked with correct parameter" );
-                       this._super();
+                       this._super( "bar" );
                }
        });