]> source.dussan.org Git - jquery-ui.git/commitdiff
Tests: Updated version check.
authorScott González <scott.gonzalez@gmail.com>
Sat, 28 May 2011 19:42:55 +0000 (15:42 -0400)
committerScott González <scott.gonzalez@gmail.com>
Sat, 28 May 2011 19:42:55 +0000 (15:42 -0400)
tests/unit/testsuite.js

index c1f394ed92be529e17cf0c0ac6069dd2898cca31..3d9e64d6036dc4987b8c6f0fd82632ee8f7ddd70 100644 (file)
@@ -61,7 +61,7 @@ window.commonWidgetTests = function( widget, settings ) {
        testWidgetOverrides( widget );
        testBasicUsage( widget );
        test( "version", function() {
-               ok( "version" in $.ui[ widget ], "version property exists" );
+               ok( "version" in $.ui[ widget ].prototype, "version property exists" );
        });
 }