build(aio): fix generated github links

The change from `modules` to `packages` needed to be applied to these links.
This commit is contained in:
Peter Bacon Darwin
2017-03-17 23:02:03 +00:00
committed by Miško Hevery
parent b4081e3713
commit 31ef92fc36
3 changed files with 18 additions and 4 deletions

View File

@ -17,6 +17,14 @@ describe('site App', function() {
it('should convert a doc with a code-example');
describe('api-docs', () => {
it('should show a link to github', () => {
page.navigateTo('api/common/NgClass');
expect(page.ghLink.getAttribute('href'))
.toMatch(/https:\/\/github.com\/angular\/angular\/tree\/.+\/packages\/common\/src\/directives\/ng_class\.ts/);
});
});
describe('google analytics', () => {
beforeEach(done => page.gaReady.then(done));