diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-19 21:16:06 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-19 21:16:06 +0100 |
commit | a67dad8cbef26f800a9be67cd15bea5a304de140 (patch) | |
tree | 3573b8a1b65b2f88ece7f9bc596b4f3a129c0cfd /test/parsing.js | |
parent | b549158483de1336b8b48a1ccbb5c87ea54e8b34 (diff) | |
download | gitbook-a67dad8cbef26f800a9be67cd15bea5a304de140.zip gitbook-a67dad8cbef26f800a9be67cd15bea5a304de140.tar.gz gitbook-a67dad8cbef26f800a9be67cd15bea5a304de140.tar.bz2 |
Fix list of files and parsing of navigation files only
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 636b574..bde8be3 100644 --- a/test/parsing.js +++ b/test/parsing.js @@ -31,8 +31,8 @@ describe('Book parsing', function () { it('should correctly parse files', function() { var FILES = book1.files; - assert.equal(FILES.length, 4); - assert.equal(_.difference(FILES, [ 'GLOSSARY.md', 'README.md', 'SUMMARY.md', 'intro.md' ]).length, 0); + assert.equal(FILES.length, 2); + assert.equal(_.difference(FILES, [ 'intro.md', 'README.md' ]).length, 0); }); it('should correctly parse the languages', function() { |