aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/accordion
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2010-08-27 14:48:17 -0400
committerScott González <scott.gonzalez@gmail.com>2010-08-27 14:48:17 -0400
commit1e28040cf358d0fe81ee83a2e35d7dbb65362afa (patch)
tree721a02ecfcfb52284e0d55a79ff303a5c98c4787 /tests/unit/accordion
parent52a052be79d21aa519ccb513dc00a7c54868ef03 (diff)
downloadjquery-ui-1e28040cf358d0fe81ee83a2e35d7dbb65362afa.tar.gz
jquery-ui-1e28040cf358d0fe81ee83a2e35d7dbb65362afa.zip
Widget: Throw errors when calling non-existent methods or methods on uninistantiated widgets. Fixes #5972 - Widget: Throw error for non-existent method calls.
Diffstat (limited to 'tests/unit/accordion')
-rw-r--r--tests/unit/accordion/accordion_methods.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js
index 73faff27c..96688b59e 100644
--- a/tests/unit/accordion/accordion_methods.js
+++ b/tests/unit/accordion/accordion_methods.js
@@ -18,9 +18,6 @@ test("init", function() {
$('<div></div>').appendTo('body').remove().accordion().remove();
ok(true, '.accordion() called on disconnected DOMElement - removed');
- $('<div></div>').accordion().accordion("foo").remove();
- ok(true, 'arbitrary method called after init');
-
var el = $('<div></div>').accordion();
var foo = el.accordion("option", "foo");
el.remove();