summaryrefslogtreecommitdiffstats
path: root/test/parse.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse.js')
-rw-r--r--test/parse.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/parse.js b/test/parse.js
index 72e0260..e190107 100644
--- a/test/parse.js
+++ b/test/parse.js
@@ -19,6 +19,17 @@ describe('Parsing', function() {
});
});
+ it('should add GLOSSARY as a page', function() {
+ return mock.setupDefaultBook({
+ 'GLOSSARY.md': ''
+ })
+ .then(function(book) {
+ return book.parse()
+ .then(function() {
+ book.hasPage('GLOSSARY.md').should.equal(true);
+ });
+ });
+ });
describe('Multilingual book', function() {
var book;