aboutsummaryrefslogtreecommitdiffstats
path: root/docs/spec/sourceLinkSpec.js
diff options
context:
space:
mode:
authorVojta Jina2013-11-21 12:41:34 -0800
committerVojta Jina2013-11-21 12:41:57 -0800
commitba1b47f85b771f8221db58a46b58429375b0ee6e (patch)
tree5e704c6e823afda6e76a3e7b8a29191bd9fd0303 /docs/spec/sourceLinkSpec.js
parent0a3481e23affe690295fc0bb26cb6597ed56155d (diff)
downloadangular.js-ba1b47f85b771f8221db58a46b58429375b0ee6e.tar.bz2
test(docs): fix the failing specs
Because Grunt was not failing the build, we didn't noticed these failing specs.
Diffstat (limited to 'docs/spec/sourceLinkSpec.js')
-rw-r--r--docs/spec/sourceLinkSpec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/spec/sourceLinkSpec.js b/docs/spec/sourceLinkSpec.js
index 68d95236..b5a95e8b 100644
--- a/docs/spec/sourceLinkSpec.js
+++ b/docs/spec/sourceLinkSpec.js
@@ -20,7 +20,7 @@ describe('Docs Links', function() {
});
it('should have an "view source" button', function() {
- spyOn(gruntUtil, 'getVersion').andReturn({cdn: '1.2.299'});
+ spyOn(gruntUtil, 'getVersion').andReturn({full: '1.2.299'});
expect(doc.html()).
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>');