summaryrefslogtreecommitdiffstats
path: root/test/parse.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-18 16:34:11 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-18 16:34:11 +0100
commit8401a674c382cd1c7ca6c6a02e4def3d237c9734 (patch)
tree6b16eb46710e5e9510483d19ef5c256c5dd93938 /test/parse.js
parent3fcf1a7723a5a3b7a436974c445dbb2b79fad583 (diff)
downloadgitbook-8401a674c382cd1c7ca6c6a02e4def3d237c9734.zip
gitbook-8401a674c382cd1c7ca6c6a02e4def3d237c9734.tar.gz
gitbook-8401a674c382cd1c7ca6c6a02e4def3d237c9734.tar.bz2
Add test for navigation in summary
Diffstat (limited to 'test/parse.js')
-rw-r--r--test/parse.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parse.js b/test/parse.js
index e190107..63565ee 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -1,12 +1,12 @@
var mock = require('./mock');
describe('Parsing', function() {
- it('should fail without SUMMARY', function() {
+ it('should not fail without SUMMARY', function() {
return mock.setupBook({
'README.md': ''
})
.then(function(book) {
- return book.parse().should.be.rejected;
+ return book.parse().should.be.fulfilled();
});
});