From 5c4ffb36deee18743beb149ceae4d63d5b1ae8d9 Mon Sep 17 00:00:00 2001 From: James Daily Date: Tue, 20 Aug 2013 12:12:31 -0400 Subject: fix(ngdocs): use cdn version to generate link to source files Closes #3616 Closes #3675 --- docs/spec/sourceLinkSpec.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs/spec/sourceLinkSpec.js') diff --git a/docs/spec/sourceLinkSpec.js b/docs/spec/sourceLinkSpec.js index 3dc73cc8..68d95236 100644 --- a/docs/spec/sourceLinkSpec.js +++ b/docs/spec/sourceLinkSpec.js @@ -20,10 +20,11 @@ describe('Docs Links', function() { }); it('should have an "view source" button', function() { + spyOn(gruntUtil, 'getVersion').andReturn({cdn: '1.2.299'}); + expect(doc.html()). - toContain(' View source'); + toContain(' View source'); }); - }); }); -- cgit v1.2.3