summaryrefslogtreecommitdiffstats
path: root/test/pdf.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-23 14:10:45 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-23 14:10:45 +0100
commitdf16f3d90dc79366dd5cb30a6a91aa480397833f (patch)
tree5fce1ebb6655615bd091babeda04714ea2e6a823 /test/pdf.js
parentccd2f6ecdc17f796ff434ed89e63df4e3bee8434 (diff)
downloadgitbook-df16f3d90dc79366dd5cb30a6a91aa480397833f.zip
gitbook-df16f3d90dc79366dd5cb30a6a91aa480397833f.tar.gz
gitbook-df16f3d90dc79366dd5cb30a6a91aa480397833f.tar.bz2
Test ebook generation instead of pdf output
Diffstat (limited to 'test/pdf.js')
-rw-r--r--test/pdf.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/pdf.js b/test/pdf.js
deleted file mode 100644
index 9b5cf42..0000000
--- a/test/pdf.js
+++ /dev/null
@@ -1,15 +0,0 @@
-var path = require('path');
-var _ = require('lodash');
-var assert = require('assert');
-
-var fs = require("fs");
-var fsUtil = require("../lib/utils/fs");
-
-
-describe('PDF Generator', function () {
- it('should correctly generate a pdf', function(done) {
- testGeneration(books[1], "pdf", function(output) {
- assert(fs.existsSync(path.join(output, "book.pdf")));
- }, done);
- });
-});