summaryrefslogtreecommitdiffstats
path: root/test/page.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-16 17:15:43 +0200
committerSamy Pessé <samypesse@gmail.com>2014-04-16 17:15:45 +0200
commit413dc5d004179eb9b6fa86da4c4e1a3cc54514d3 (patch)
tree9c73499ab589c5e1464eabb38c615b866244c0a9 /test/page.js
parentc9eb27bfe7b86987af5b1162804ebe3a8652c57e (diff)
downloadgitbook-413dc5d004179eb9b6fa86da4c4e1a3cc54514d3.zip
gitbook-413dc5d004179eb9b6fa86da4c4e1a3cc54514d3.tar.gz
gitbook-413dc5d004179eb9b6fa86da4c4e1a3cc54514d3.tar.bz2
Add more test for quiz (related to #100)
Diffstat (limited to 'test/page.js')
-rw-r--r--test/page.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/page.js b/test/page.js
index a8a3770..52a3df6 100644
--- a/test/page.js
+++ b/test/page.js
@@ -28,6 +28,7 @@ describe('Page parsing', function() {
assert.equal(QUIZ_LEXED[0].type, 'normal');
assert.equal(QUIZ_LEXED[1].type, 'quiz');
assert.equal(QUIZ_LEXED[2].type, 'normal');
+ assert.equal(QUIZ_LEXED[3].type, 'quiz');
});
it('should gen content for normal sections', function() {