aboutsummaryrefslogtreecommitdiffstats
path: root/docs/spec/sitemapSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2011-10-07 11:27:49 -0700
committerIgor Minar2011-10-11 11:01:46 -0700
commitfd822bdaf9d04e522aaa5400b673f333190abe98 (patch)
tree451cd26d3f7da862692d6c56e6e8f235824c180a /docs/spec/sitemapSpec.js
parent4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff)
downloadangular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2
chore(formating): clean code to be function() {
Diffstat (limited to 'docs/spec/sitemapSpec.js')
-rw-r--r--docs/spec/sitemapSpec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/spec/sitemapSpec.js b/docs/spec/sitemapSpec.js
index b14d58bf..dc6c3438 100644
--- a/docs/spec/sitemapSpec.js
+++ b/docs/spec/sitemapSpec.js
@@ -2,8 +2,8 @@ var SiteMap = require('SiteMap.js').SiteMap;
var Doc = require('ngdoc.js').Doc;
-describe('sitemap', function(){
- it('should render empty sitemap', function(){
+describe('sitemap', function() {
+ it('should render empty sitemap', function() {
var map = new SiteMap([]);
expect(map.render()).toEqual([
'<?xml version="1.0" encoding="UTF-8"?>',
@@ -11,7 +11,7 @@ describe('sitemap', function(){
'</urlset>', ''].join('\n'));
});
- it('should render ngdoc url', function(){
+ it('should render ngdoc url', function() {
var map = new SiteMap([new Doc({section: 'foo', id: 'a.b.c<>\'"&'})]);
expect(map.render()).toContain([
' <url>',