aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/button
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-07-30 12:38:18 -0400
committerScott González <scott.gonzalez@gmail.com>2010-07-30 12:38:18 -0400
commit58ae7ce2fd20fb865c9087fb2eae0dbdb39fc9a7 (patch)
treeedba4fc37f64d163273c41d4a166cb25a6e9243a /tests/unit/button
parentdffcba0ba6d77413f700fba46e4ed5eabe74359f (diff)
downloadjquery-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/button')
-rw-r--r--tests/unit/button/button_methods.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/unit/button/button_methods.js b/tests/unit/button/button_methods.js
index 5197bc40c..a83a73ba4 100644
--- a/tests/unit/button/button_methods.js
+++ b/tests/unit/button/button_methods.js
@@ -16,18 +16,4 @@ test("destroy", function() {
equal( afterHtml, beforeHtml );
});
-test("widget", function() {
- var submit = $("#submit").button();
- same(submit.button("widget")[0], submit[0]);
- same(submit.button("widget").end()[0], submit[0]);
-
- var check = $("#check").button();
- same(check.button("widget")[0], check.next("label")[0]);
- same(check.button("widget").end()[0], check[0]);
-
- var radio = $("#radio01").button();
- same(radio.button("widget")[0], radio.next("label")[0]);
- same(radio.button("widget").end()[0], radio[0]);
-});
-
})(jQuery);