From 2c4d5cdd06786fe5c96e95cc57f5e8e4a13abc2a Mon Sep 17 00:00:00 2001 From: mathematicalcoffee Date: Fri, 22 Feb 2013 12:48:03 +1000 Subject: [PATCH] updated getAncestorLinks tests to reflect previous revert --- test/specs/jsdoc/util/templateHelper.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/specs/jsdoc/util/templateHelper.js b/test/specs/jsdoc/util/templateHelper.js index 96412250..56b235c8 100644 --- a/test/specs/jsdoc/util/templateHelper.js +++ b/test/specs/jsdoc/util/templateHelper.js @@ -712,9 +712,7 @@ describe("jsdoc/util/templateHelper", function() { var links = helper.getAncestorLinks(data, lackeys); expect(links.length).toBe(3); - // BUG: the link text is ~Henchman and there is a '#' on the end. - // should probably have link text ~Henchman#. - //expect(links).toContain('~Henchman#'); + expect(links).toContain('~Henchman#'); expect(links).toContain('.Sharks'); expect(links).toContain('mafia/gangs'); @@ -729,7 +727,7 @@ describe("jsdoc/util/templateHelper", function() { var links = helper.getAncestorLinks(data, lackeys, 'myClass'); expect(links.length).toBe(3); - //expect(links).toContain('~Henchman#'); + expect(links).toContain('~Henchman#'); expect(links).toContain('.Sharks'); expect(links).toContain('mafia/gangs');