aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-10-25 05:47:51 -0400
committerScott González <scott.gonzalez@gmail.com>2012-10-25 05:47:51 -0400
commit6a00d418bc8346df7124708125056ad4717ce89c (patch)
tree5e46dea2a9dbc35e54ab3dbcb4b514701dfdece2 /tests/unit
parenta9053d93008e203391206cb743e873064fc8198b (diff)
downloadjquery-ui-6a00d418bc8346df7124708125056ad4717ce89c.tar.gz
jquery-ui-6a00d418bc8346df7124708125056ad4717ce89c.zip
Tabs: Removed spinner option. Fixes #7151 - Tabs: Remove spinner option.
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/tabs/tabs_common_deprecated.js1
-rw-r--r--tests/unit/tabs/tabs_deprecated.js18
2 files changed, 0 insertions, 19 deletions
diff --git a/tests/unit/tabs/tabs_common_deprecated.js b/tests/unit/tabs/tabs_common_deprecated.js
index 0d381f9e9..a21489cda 100644
--- a/tests/unit/tabs/tabs_common_deprecated.js
+++ b/tests/unit/tabs/tabs_common_deprecated.js
@@ -9,7 +9,6 @@ TestHelpers.commonWidgetTests( "tabs", {
idPrefix: "ui-tabs-",
panelTemplate: "<div></div>",
show: null,
- spinner: "<em>Loading&#8230;</em>",
tabTemplate: "<li><a href='#{href}'><span>#{label}</span></a></li>",
// callbacks
diff --git a/tests/unit/tabs/tabs_deprecated.js b/tests/unit/tabs/tabs_deprecated.js
index 9f0e320cc..4d6d682f5 100644
--- a/tests/unit/tabs/tabs_deprecated.js
+++ b/tests/unit/tabs/tabs_deprecated.js
@@ -66,24 +66,6 @@ test( "tabTemplate + panelTemplate", function() {
ok( element.find( "#new" ).hasClass( "customPanel" ), "panel custom class" );
});
-asyncTest( "spinner", function() {
- expect( 2 );
-
- var element = $( "#tabs2" ).tabs();
-
- element.one( "tabsbeforeload", function() {
- equal( element.find( ".ui-tabs-nav li:eq(2) em" ).length, 1, "beforeload" );
- });
- element.one( "tabsload", function() {
- // wait until after the load finishes before checking for the spinner to be removed
- setTimeout(function() {
- equal( element.find( ".ui-tabs-nav li:eq(2) em" ).length, 0, "load" );
- start();
- }, 1 );
- });
- element.tabs( "option", "active", 2 );
-});
-
module( "tabs (deprecated): events" );
asyncTest( "load", function() {