build(aio): fix generated github links
The change from `modules` to `packages` needed to be applied to these links.
This commit is contained in:

committed by
Miško Hevery

parent
b4081e3713
commit
31ef92fc36
@ -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));
|
||||
|
||||
|
Reference in New Issue
Block a user