diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-01-28 17:35:32 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-01-28 17:35:32 +0100 |
commit | 461ef2c68e9086bd77f0a25d57956ebf60308f7c (patch) | |
tree | c0e8814e3c57ea5bf21526acc3a7e9b1c925576a /test/parse.js | |
parent | 46efdacd6d3d5c7560d8f956e2339c36157f7c89 (diff) | |
download | gitbook-461ef2c68e9086bd77f0a25d57956ebf60308f7c.zip gitbook-461ef2c68e9086bd77f0a25d57956ebf60308f7c.tar.gz gitbook-461ef2c68e9086bd77f0a25d57956ebf60308f7c.tar.bz2 |
Add unit tests for langs
Diffstat (limited to 'test/parse.js')
-rw-r--r-- | test/parse.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/test/parse.js b/test/parse.js deleted file mode 100644 index dca780e..0000000 --- a/test/parse.js +++ /dev/null @@ -1,24 +0,0 @@ -var mock = require('./mock'); - -describe('Parsing', function() { - - it('should fail without SUMMARY', function() { - return mock.setupBook({ - 'README.md': '' - }) - .then(function(book) { - return book.parse().should.be.rejected; - }); - }); - - it('should fail without README', function() { - return mock.setupBook({ - 'SUMMARY.md': '' - }) - .then(function(book) { - return book.parse().should.be.rejected; - }); - }); - -}); - |