From bb7228e2d906602608a878092158c8004a190809 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 7 Jun 2011 13:10:00 -0700 Subject: fix ngdocSpec tests --- docs/spec/ngdocSpec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/spec') diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js index e4e21e25..2dcfb875 100644 --- a/docs/spec/ngdocSpec.js +++ b/docs/spec/ngdocSpec.js @@ -418,25 +418,25 @@ describe('ngdoc', function(){ doc.parse(); expect(doc.description). - toContain('foo angular.foo'); + toContain('foo angular.foo'); expect(doc.description). - toContain('da bar foo bar'); + toContain('da bar foo bar'); expect(doc.description). - toContain('dadangular.foo'); + toContain('dadangular.foo'); expect(doc.description). - toContain('ng:foo'); + toContain('ng:foo'); expect(doc.description). toContain('http://angularjs.org'); expect(doc.description). toContain('./static.html'); }); - it('shoul support line breaks in @link', function(){ + it('should support line breaks in @link', function(){ var doc = new Doc("@description " + '{@link\napi/angular.foo\na\nb}'); doc.parse(); expect(doc.description). - toContain('a b'); + toContain('a b'); }); }); -- cgit v1.2.3