Add failing test for #1013

This commit is contained in:
Samy Pessé
2015-11-16 09:55:45 +01:00
parent 5d907f234e
commit 2ae83b3247
5 changed files with 16 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
== Readme for the bookk
+1
View File
@@ -0,0 +1 @@
# Readme for GitHub
+1
View File
@@ -0,0 +1 @@
# Summary
+5
View File
@@ -0,0 +1,5 @@
{
"structure": {
"readme": "README.adoc"
}
}
+8
View File
@@ -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');
});
});
});