summaryrefslogtreecommitdiffstats
path: root/test/6-parse.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-01-28 23:19:39 +0100
committerSamy Pessé <samypesse@gmail.com>2016-01-28 23:19:39 +0100
commitea98444dc0a6e59e79408963e1d340d7765ba9f6 (patch)
treeee946c4eebbe2a7cb9c8b572f2921dee859bbc8e /test/6-parse.js
parent328c3a7d5141abdeab1488d6de8a47e62ebf48dc (diff)
downloadgitbook-ea98444dc0a6e59e79408963e1d340d7765ba9f6.zip
gitbook-ea98444dc0a6e59e79408963e1d340d7765ba9f6.tar.gz
gitbook-ea98444dc0a6e59e79408963e1d340d7765ba9f6.tar.bz2
Add parsing of summary and tests
Diffstat (limited to 'test/6-parse.js')
-rw-r--r--test/6-parse.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/6-parse.js b/test/6-parse.js
index a575720..72e0260 100644
--- a/test/6-parse.js
+++ b/test/6-parse.js
@@ -40,7 +40,8 @@ describe('Parsing', function() {
});
it('should list language books', function() {
-
+ book.isMultilingual().should.equal(true);
+ book.books.should.have.lengthOf(2);
});
});
});