mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-10-05 01:44:18 +00:00
Tabs: Clean up some tests.
This commit is contained in:
parent
92bcb2504f
commit
75f7a786ae
@ -85,7 +85,7 @@ test( "disable( index )", function() {
|
||||
tabs_disabled( element, true );
|
||||
});
|
||||
|
||||
test( "refersh", function() {
|
||||
test( "refresh", function() {
|
||||
expect( 27 );
|
||||
|
||||
var element = $( "#tabs1" ).tabs();
|
||||
|
@ -15,6 +15,7 @@ test( "{ active: default }", function() {
|
||||
equals( element.tabs( "option", "active" ), 2, "should be 2 based on URL" );
|
||||
tabs_state( element, 0, 0, 1 );
|
||||
element.tabs( "destroy" );
|
||||
location.hash = "#";
|
||||
});
|
||||
|
||||
test( "{ active: false }", function() {
|
||||
@ -93,6 +94,7 @@ test( "active - mismatched tab/panel order", function() {
|
||||
tabs_state( element, 0, 1 );
|
||||
element.tabs( "option", "active", 0 );
|
||||
tabs_state( element, 1, 0 );
|
||||
location.hash = "#";
|
||||
});
|
||||
|
||||
test( "{ collapsible: false }", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user