summaryrefslogtreecommitdiffstats
path: root/test/output-ebook.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-04-30 22:06:16 +0200
committerSamy Pesse <samypesse@gmail.com>2016-04-30 22:06:16 +0200
commitc1d53ec11fbe085932df911bda5686b7bf671f53 (patch)
tree97ae6db641eb79ec9b061af136a0b2e3c549db55 /test/output-ebook.js
parent36b49c66c6b75515bc84dd678fd52121a313e8d2 (diff)
downloadgitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.zip
gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.gz
gitbook-c1d53ec11fbe085932df911bda5686b7bf671f53.tar.bz2
Switch parsers to a model
Diffstat (limited to 'test/output-ebook.js')
-rw-r--r--test/output-ebook.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/test/output-ebook.js b/test/output-ebook.js
deleted file mode 100644
index c43fc55..0000000
--- a/test/output-ebook.js
+++ /dev/null
@@ -1,33 +0,0 @@
-var mock = require('./mock');
-var EbookOutput = require('../lib/output/ebook');
-
-describe('Ebook Output', function() {
- describe('Sample Book', function() {
- var output;
-
- before(function() {
- return mock.outputDefaultBook(EbookOutput)
- .then(function(_output) {
- output = _output;
- });
- });
-
- it('should correctly generate an index.html', function() {
- output.should.have.file('index.html');
- });
-
- it('should correctly generate a SUMMARY.html', function() {
- output.should.have.file('index.html');
- });
-
- it('should correctly copy assets', function() {
- output.should.have.file('gitbook/ebook.css');
- });
-
- it('should correctly copy plugins', function() {
- output.should.have.file('gitbook/gitbook-plugin-highlight/ebook.css');
- });
-
- });
-
-});