diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-12-11 14:40:20 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-12-11 14:40:20 +0100 |
commit | 49f09e46daf75c192e5d7b6b050fe9f9f949a485 (patch) | |
tree | c514b4370a912ba301f62b4f9c90061a454d0824 /test | |
parent | becd027563f361e7dc6824d18c58978b08aa6118 (diff) | |
download | gitbook-49f09e46daf75c192e5d7b6b050fe9f9f949a485.zip gitbook-49f09e46daf75c192e5d7b6b050fe9f9f949a485.tar.gz gitbook-49f09e46daf75c192e5d7b6b050fe9f9f949a485.tar.bz2 |
Fix support for local styles
Diffstat (limited to 'test')
-rw-r--r-- | test/ebook.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/ebook.js b/test/ebook.js index 6c84462..5caf28b 100644 --- a/test/ebook.js +++ b/test/ebook.js @@ -36,6 +36,11 @@ describe('eBook generator', function () { }); }); + it('should correctly copy print.css', function() { + book.should.have.file('styles'); + book.should.have.file('styles/print.css'); + }); + it('should remove default print.css', function() { var PAGE = fs.readFileSync( path.join(book.options.output, 'index.html'), @@ -61,10 +66,5 @@ describe('eBook generator', function () { } }); }); - - it('should correctly copy print.css', function() { - book.should.have.file('styles'); - book.should.have.file('styles/print.css'); - }); }); }); |