diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:28:54 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-10-25 05:28:54 -0400 |
commit | acdd1917b2ab5a3b5469678d835107152ed5aaef (patch) | |
tree | e0cf105de924f70d0c56c200f70f3ccade7222b0 /tests/unit | |
parent | 52a184e31c0ca5618e6d4873625bf3b7716944b3 (diff) | |
download | jquery-ui-acdd1917b2ab5a3b5469678d835107152ed5aaef.tar.gz jquery-ui-acdd1917b2ab5a3b5469678d835107152ed5aaef.zip |
Tabs: Removed url method. Fixes #7148 - Tabs: Remove url method.
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/tabs/tabs_deprecated.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/unit/tabs/tabs_deprecated.js b/tests/unit/tabs/tabs_deprecated.js index b3db097b9..49ad5c13e 100644 --- a/tests/unit/tabs/tabs_deprecated.js +++ b/tests/unit/tabs/tabs_deprecated.js @@ -510,21 +510,6 @@ test( "length", function() { equal( $( "#tabs2" ).tabs().tabs( "length" ), 5, "ajax tabs with missing panels" ); }); -test( "url", function() { - expect( 2 ); - - var element = $( "#tabs2" ).tabs(), - anchor = element.find( ".ui-tabs-anchor" ).eq( 3 ); - - element.tabs( "url", 3, "data/test2.html" ); - equal( anchor.attr( "href" ), "data/test2.html", "href was updated" ); - element.one( "tabsbeforeload", function( event, ui ) { - equal( ui.ajaxSettings.url, "data/test2.html", "ajaxSettings.url" ); - event.preventDefault(); - }); - element.tabs( "option", "active", 3 ); -}); - asyncTest( "abort", function() { expect( 1 ); |