Skip to content
Permalink
Browse files

tabs: core ajax unit test - run two loads as two separate asyncs so I…

…E7 will run remaining tests
  • Loading branch information
rdworth committed Apr 2, 2010
1 parent 51b72a5 commit 178c3b5b6ea39ccd3c8ebd252857cf0a47e81840
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/unit/tabs/tabs_core.js
@@ -35,6 +35,8 @@ test('ajax', function() {
selected: 2,
load: function() {
// spinner: default spinner
start();
stop();
equals($('li:eq(2) > a > span', el).length, 1, "should restore tab markup after spinner is removed");
equals($('li:eq(2) > a > span', el).html(), '3', "should restore tab label after spinner is removed");
el.tabs('destroy');

0 comments on commit 178c3b5

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