diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-11 22:05:58 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-11 22:05:58 +0100 |
commit | 3218ee74551a3f07d9e994ad91a3f2a41ef963ac (patch) | |
tree | 1f1426282ce6ce25265ad4da1bdf3de7779484db /test/parsing.js | |
parent | 0552007b8a07c0767137e11835f1dbe87b913f95 (diff) | |
download | gitbook-3218ee74551a3f07d9e994ad91a3f2a41ef963ac.zip gitbook-3218ee74551a3f07d9e994ad91a3f2a41ef963ac.tar.gz gitbook-3218ee74551a3f07d9e994ad91a3f2a41ef963ac.tar.bz2 |
Fix tests to adapt to changes in parsers2.0.0-beta.2
Diffstat (limited to 'test/parsing.js')
-rw-r--r-- | test/parsing.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parsing.js b/test/parsing.js index fcda739..0f0962e 100644 --- a/test/parsing.js +++ b/test/parsing.js @@ -71,12 +71,12 @@ describe('Book parsing', function () { assert.equal(_.size(NAVIGATION), 2); assert(NAVIGATION["intro.md"]) - assert.equal(NAVIGATION["intro.md"].title, "Introduction"); + assert.equal(NAVIGATION["intro.md"].title, ""); assert.equal(NAVIGATION["intro.md"].prev, null); assert.equal(NAVIGATION["intro.md"].next.title, "Article 1"); assert.equal(NAVIGATION["sub/test1.md"].title, "Article 1"); - assert.equal(NAVIGATION["sub/test1.md"].prev.title, "Introduction"); + assert.equal(NAVIGATION["sub/test1.md"].prev.title, ""); assert.equal(NAVIGATION["sub/test1.md"].next, null); }); }); |