aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/tabs/tabs_tickets.js
diff options
context:
space:
mode:
authorDavid Petersen <public@petersendidit.com>2011-03-26 16:49:14 -0400
committerDavid Petersen <public@petersendidit.com>2011-03-26 21:02:17 -0400
commit03eb54b37902db771accd3a53bad1b927c058bc7 (patch)
tree04547fbaf96f4a49aa9515501e274ce777dd5696 /tests/unit/tabs/tabs_tickets.js
parente378876918361182e6cb6321159393828848b2c9 (diff)
downloadjquery-ui-03eb54b37902db771accd3a53bad1b927c058bc7.tar.gz
jquery-ui-03eb54b37902db771accd3a53bad1b927c058bc7.zip
Tabs: Deprecate the length method. Fixes #7143 Tabs: Deprecate the length method
Diffstat (limited to 'tests/unit/tabs/tabs_tickets.js')
-rw-r--r--tests/unit/tabs/tabs_tickets.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/tabs/tabs_tickets.js b/tests/unit/tabs/tabs_tickets.js
index 5da799730..c301e9eb0 100644
--- a/tests/unit/tabs/tabs_tickets.js
+++ b/tests/unit/tabs/tabs_tickets.js
@@ -54,7 +54,7 @@ test('#4033 - IE expands hash to full url and misinterprets tab as ajax', functi
el = $('<div><ul><li><a href="#tab">Tab</a></li></ul><div id="tab"></div></div>')
.appendTo('#main').tabs();
-
+
equals($('a', el).data('load.tabs'), undefined, 'should not create ajax tab');
});
@@ -64,7 +64,7 @@ test('#5893 - Sublist in the tab list are considered as tab', function() {
expect(1);
el = $('#tabs6').tabs();
- equals(el.tabs( "length" ), 2, 'should contain 2 tab');
+ equals(el.data("tabs").anchors.length, 2, 'should contain 2 tab');
});