fix(ngDocSpec): fix broken tests

This commit is contained in:
Igor Minar 2012-03-16 15:31:42 -07:00
parent 1faafa3158
commit 53b6f522a5

View file

@ -35,7 +35,7 @@ describe('ngdoc', function() {
var d2 = new Doc('@name a.b.ng-c').parse();
var d3 = new Doc('@name some text: more text').parse();
expect(ngdoc.metadata([d1])[0].shortName).toEqual('c');
expect(ngdoc.metadata([d2])[0].shortName).toEqual('ng:c');
expect(ngdoc.metadata([d2])[0].shortName).toEqual('ng-c');
expect(ngdoc.metadata([d3])[0].shortName).toEqual('more text');
});