test(docs): fix the failing specs

Because Grunt was not failing the build, we didn't noticed these failing specs.
This commit is contained in:
Vojta Jina
2013-11-21 12:41:34 -08:00
parent 0a3481e23a
commit ba1b47f85b
2 changed files with 3 additions and 3 deletions

View File

@@ -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>');