File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ describe('ngdoc', function() {
3434 var d1 = new Doc ( '@name a.b.c' ) . parse ( ) ;
3535 var d2 = new Doc ( '@name a.b.ng-c' ) . parse ( ) ;
3636 var d3 = new Doc ( '@name some text: more text' ) . parse ( ) ;
37- expect ( ngdoc . metadata ( [ d1 ] ) [ 0 ] . shortName ) . toEqual ( 'c' ) ;
38- expect ( ngdoc . metadata ( [ d2 ] ) [ 0 ] . shortName ) . toEqual ( 'ng-c' ) ;
37+ expect ( ngdoc . metadata ( [ d1 ] ) [ 0 ] . shortName ) . toEqual ( 'a.b. c' ) ;
38+ expect ( ngdoc . metadata ( [ d2 ] ) [ 0 ] . shortName ) . toEqual ( 'a.b. ng-c' ) ;
3939 expect ( ngdoc . metadata ( [ d3 ] ) [ 0 ] . shortName ) . toEqual ( 'more text' ) ;
4040 } ) ;
4141
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ describe('Docs Links', function() {
2020 } ) ;
2121
2222 it ( 'should have an "view source" button' , function ( ) {
23- spyOn ( gruntUtil , 'getVersion' ) . andReturn ( { cdn : '1.2.299' } ) ;
23+ spyOn ( gruntUtil , 'getVersion' ) . andReturn ( { full : '1.2.299' } ) ;
2424
2525 expect ( doc . html ( ) ) .
2626 toContain ( '<a href="http://github.com/angular/angular.js/tree/v1.2.299/test.js#L42" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a>' ) ;
You can’t perform that action at this time.
0 commit comments