File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ var readFile = Q.denodeify(fs.readFile);
10
10
11
11
require ( "./build/build_test" ) ;
12
12
13
- describe ( "documentjs/lib/generators/ html" , function ( ) {
13
+ describe ( "bit-docs-generate- html" , function ( ) {
14
14
beforeEach ( function ( ) {
15
15
return rmdir ( path . join ( __dirname , "site" , "static" ) ) . then ( function ( e ) {
16
16
return rmdir ( path . join ( __dirname , "site" , "templates" ) ) ;
@@ -216,7 +216,7 @@ describe("documentjs/lib/generators/html", function(){
216
216
} ) ;
217
217
} ) ;
218
218
219
- it ( "basic sidebar works" , function ( ) {
219
+ it . only ( "basic sidebar works" , function ( ) {
220
220
this . timeout ( 240000 ) ;
221
221
return rmdir ( path . join ( __dirname , "test" , "tmp" ) ) . then ( function ( ) {
222
222
var options = {
@@ -271,6 +271,7 @@ describe("documentjs/lib/generators/html", function(){
271
271
} ) . then ( function ( data ) {
272
272
assert . ok ( ( "" + data ) . indexOf ( 'href="Asia.html"' ) !== - 1 , "link to asia" ) ;
273
273
assert . ok ( ( "" + data ) . indexOf ( 'href="China.html"' ) !== - 1 , "link to china" ) ;
274
+ assert . ok ( ( "" + data ) . indexOf ( 'href="index.html"' ) !== - 1 , "link to earth as index" ) ;
274
275
} ) ;
275
276
} ) ;
276
277
} ) ;
Original file line number Diff line number Diff line change 3
3
{ {#if children.length} }
4
4
<ul >
5
5
<li class =" " >
6
- <a class =" home" href =" { { urlTo ' BitDocs ' } } " title =" Home" >
6
+ <a class =" home" href =" { { urlTo (siteConfig " parent " ) } } " title =" Home" >
7
7
Home
8
8
</a >
9
9
</li >
You can’t perform that action at this time.
0 commit comments