diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-03-24 10:24:49 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-03-24 10:24:49 +0100 |
commit | 61c07e8876e1187b787dec412a496465a7f3bac0 (patch) | |
tree | c22caeebd05af701a68511d774c2b16f8f813dc4 /test/json.js | |
parent | d317741144c3179bf0a88eb731bb8195426405a6 (diff) | |
download | gitbook-61c07e8876e1187b787dec412a496465a7f3bac0.zip gitbook-61c07e8876e1187b787dec412a496465a7f3bac0.tar.gz gitbook-61c07e8876e1187b787dec412a496465a7f3bac0.tar.bz2 |
Add test for glossary parsing
Diffstat (limited to 'test/json.js')
-rw-r--r-- | test/json.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/json.js b/test/json.js index 56483c6..0e50237 100644 --- a/test/json.js +++ b/test/json.js @@ -60,12 +60,16 @@ describe('JSON generator', function () { }); }); - it('should correctly output a README.json', function() { + it('should correctly output READMEs', function() { book.should.have.file("README.json"); + book.should.have.file("en/README.json"); + book.should.have.file("fr/README.json"); }); - it('should output a valid json', function() { + it('should output valid json', function() { book.should.have.jsonfile("README.json"); + book.should.have.jsonfile("en/README.json"); + book.should.have.jsonfile("fr/README.json"); }); describe('Page Format', function() { |