Skip to content
Permalink
Browse files

Tabs: Clean up some tests.

  • Loading branch information...
scottgonzalez committed May 3, 2011
1 parent 92bcb25 commit 75f7a786ae27f27f39aa5a674aedd2913884163b
Showing with 4 additions and 2 deletions.
  1. +1 −1 tests/unit/tabs/tabs_methods.js
  2. +3 −1 tests/unit/tabs/tabs_options.js
@@ -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() {
@@ -92,7 +93,8 @@ test( "active - mismatched tab/panel order", function() {
equals( element.tabs( "option", "active" ), 1, "should be 1 based on URL" );
tabs_state( element, 0, 1 );
element.tabs( "option", "active", 0 );
tabs_state( element, 1, 0 );
tabs_state( element, 1, 0 );
location.hash = "#";
});

test( "{ collapsible: false }", function() {

0 comments on commit 75f7a78

Please sign in to comment.
You can’t perform that action at this time.