aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
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.");
});