This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ describe('ngdoc', function() {
34
34
var d1 = new Doc ( '@name a.b.c' ) . parse ( ) ;
35
35
var d2 = new Doc ( '@name a.b.ng-c' ) . parse ( ) ;
36
36
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' ) ;
39
39
expect ( ngdoc . metadata ( [ d3 ] ) [ 0 ] . shortName ) . toEqual ( 'more text' ) ;
40
40
} ) ;
41
41
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ describe('Docs Links', function() {
20
20
} ) ;
21
21
22
22
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' } ) ;
24
24
25
25
expect ( doc . html ( ) ) .
26
26
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