diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-07-30 12:38:18 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-07-30 12:38:18 -0400 |
commit | 58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7 (patch) | |
tree | edba4fc37f64d163273c41d4a166cb25a6e9243a /tests/unit/autocomplete | |
parent | dffcba0ba6d77413f700fba46e4ed5eabe74359f (diff) | |
download | jquery-ui-58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7.tar.gz jquery-ui-58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7.zip |
Revert "Use pushStack in widget method. Fixes #5732 - make the widget method maintain the stack"
This reverts commit ea58cd5ac0d852a9c7d7ceadbcbb74006cf9052d.
Diffstat (limited to 'tests/unit/autocomplete')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_methods.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/unit/autocomplete/autocomplete_methods.js b/tests/unit/autocomplete/autocomplete_methods.js index a009a83f5..05a7d6e14 100644 --- a/tests/unit/autocomplete/autocomplete_methods.js +++ b/tests/unit/autocomplete/autocomplete_methods.js @@ -38,14 +38,6 @@ test("search", function() { same( $(".ui-menu .ui-menu-item").length, 2, "only java and javascript for 'ja'" ); $("#autocomplete").autocomplete("destroy"); -}); - -test("widget", function() { - var ac = $("#autocomplete").autocomplete({ - source: data - }); - same(ac.autocomplete("widget")[0], $(":ui-menu")[0]); - same(ac.autocomplete("widget").end()[0], ac[0]); -}); +}) })(jQuery); |