From 1ca5ae160ca1243ba6232abba8f52e09dd7172f6 Mon Sep 17 00:00:00 2001 From: Klaus Hartl Date: Thu, 19 Feb 2009 20:19:13 +0000 Subject: Tabs: normalization of href attribute required in IE, fixes #4134 --- tests/unit/tabs/tabs_methods.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') 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."); }); -- cgit v1.2.3