aboutsummaryrefslogtreecommitdiffstats
path: root/tests/selectable.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-11-21 04:05:27 +0000
committerRichard Worth <rdworth@gmail.com>2008-11-21 04:05:27 +0000
commit64f6baeaf47bc41ce18b36d97d49a14d5293dbc8 (patch)
tree2d13e31cf04a48b3143285dc0c28d97e9b4e75a8 /tests/selectable.js
parent47f8e9042fbe4d48c1cf9579beba5f4fc2966149 (diff)
downloadjquery-ui-64f6baeaf47bc41ce18b36d97d49a14d5293dbc8.tar.gz
jquery-ui-64f6baeaf47bc41ce18b36d97d49a14d5293dbc8.zip
selectable: removed toggle method as widget factory provides enable/disable methods.
Diffstat (limited to 'tests/selectable.js')
-rw-r--r--tests/selectable.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/selectable.js b/tests/selectable.js
index 0bbad8d48..df23626ca 100644
--- a/tests/selectable.js
+++ b/tests/selectable.js
@@ -165,18 +165,6 @@ test("enable", function() {
el.selectable("destroy");
});
-test("toggle", function() {
- expect(2);
-
- el = $("#selectable1").selectable({ disabled: true }).selectable("toggle");
- equals(el.data("disabled.selectable"), false, "disabled -> enabled");
- el.selectable("destroy");
-
- el = $("#selectable1").selectable({ disabled: false }).selectable("toggle");
- equals(el.data("disabled.selectable"), true, "enabled -> disabled");
- el.selectable("destroy");
-});
-
module("selectable: Callbacks");
test("start", function() {