diff options
| -rw-r--r-- | docs/spec/ngdocSpec.js | 4 | ||||
| -rw-r--r-- | docs/spec/sitemapSpec.js | 2 | 
2 files changed, 3 insertions, 3 deletions
| diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js index 99b3036d..66adda6d 100644 --- a/docs/spec/ngdocSpec.js +++ b/docs/spec/ngdocSpec.js @@ -316,8 +316,8 @@ describe('ngdoc', function(){          expect(doc.requires).toEqual([            {name:'$service', text:'<p>for \n<code>A</code></p>'},            {name:'$another', text:'<p>for <code>B</code></p>'}]); -        expect(doc.html()).toContain('<a href="#!angular.service.$service">$service</a>'); -        expect(doc.html()).toContain('<a href="#!angular.service.$another">$another</a>'); +        expect(doc.html()).toContain('<a href="#!/api/angular.service.$service">$service</a>'); +        expect(doc.html()).toContain('<a href="#!/api/angular.service.$another">$another</a>');          expect(doc.html()).toContain('<p>for \n<code>A</code></p>');          expect(doc.html()).toContain('<p>for <code>B</code></p>');        }); diff --git a/docs/spec/sitemapSpec.js b/docs/spec/sitemapSpec.js index c66cfd16..b14d58bf 100644 --- a/docs/spec/sitemapSpec.js +++ b/docs/spec/sitemapSpec.js @@ -12,7 +12,7 @@ describe('sitemap', function(){    });    it('should render ngdoc url', function(){ -    var map = new SiteMap([new Doc({section: 'foo', name: 'a.b.c<>\'"&'})]); +    var map = new SiteMap([new Doc({section: 'foo', id: 'a.b.c<>\'"&'})]);      expect(map.render()).toContain([        ' <url>',        '<loc>http://docs.angularjs.org/#!/foo/a.b.c<>'"&</loc>', | 
