mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-21 01:53:26 +00:00
Add failing test for #1013
This commit is contained in:
@@ -0,0 +1 @@
|
||||
== Readme for the bookk
|
||||
@@ -0,0 +1 @@
|
||||
# Readme for GitHub
|
||||
@@ -0,0 +1 @@
|
||||
# Summary
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"structure": {
|
||||
"readme": "README.adoc"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
describe('Structure', function () {
|
||||
it('should prioritize structure defined in book.json', function() {
|
||||
return books.parse('structure')
|
||||
.then(function(book) {
|
||||
book.readmeFile.should.equal('README.adoc');
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user