aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKlaus Hartl <klaus.hartl@googlemail.com>2009-02-19 20:19:13 +0000
committerKlaus Hartl <klaus.hartl@googlemail.com>2009-02-19 20:19:13 +0000
commit1ca5ae160ca1243ba6232abba8f52e09dd7172f6 (patch)
tree89093ddcc2f707875362bdedf12e99b4bebe3b9e /tests
parente5268f9c32d9f934e942aacbce8acfaf73d8c477 (diff)
downloadjquery-ui-1ca5ae160ca1243ba6232abba8f52e09dd7172f6.tar.gz
jquery-ui-1ca5ae160ca1243ba6232abba8f52e09dd7172f6.zip
Tabs: normalization of href attribute required in IE, fixes #4134
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/tabs/tabs_methods.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/tabs/tabs_methods.js b/tests/unit/tabs/tabs_methods.js
index 61ddee642..dbfa9ee33 100644
--- a/tests/unit/tabs/tabs_methods.js
+++ b/tests/unit/tabs/tabs_methods.js
@@ -43,7 +43,7 @@ test('disable', function() {
});
test('add', function() {
- expect(3);
+ expect(4);
el = $('#tabs1').tabs();
el.tabs('add', "#new", 'New');
@@ -55,6 +55,8 @@ test('add', function() {
ok(other.is('.ui-state-hover'), 'should not remove mouseover handler from existing tab');
other.simulate('mouseout');
+ equals($('a', added).attr('href'), '#new', 'should not expand href to full url of current page');
+
ok(false, "missing test - untested code is broken code.");
});