summaryrefslogtreecommitdiffstats
path: root/test/structure.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/structure.js')
-rw-r--r--test/structure.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/structure.js b/test/structure.js
new file mode 100644
index 0000000..b25a021
--- /dev/null
+++ b/test/structure.js
@@ -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');
+ });
+ });
+});