Don't copy assets for ebook to website bundle

This commit is contained in:
Samy Pessé
2015-10-06 14:21:02 +02:00
parent 22e0c1fb54
commit 321b24a7b9
20 changed files with 89 additions and 72 deletions
+4
View File
@@ -20,6 +20,10 @@ describe('eBook generator', function () {
book.should.have.file('gitbook');
book.should.have.file('gitbook/ebook.css');
});
it('should not copy website assets', function() {
book.should.not.have.file('gitbook/style.css');
});
});
describe('Custom styles', function() {
+5 -1
View File
@@ -16,7 +16,11 @@ describe('Website generator', function () {
it('should correctly copy assets', function() {
book.should.have.file('gitbook');
book.should.have.file('gitbook/app.js');
book.should.have.file('gitbook/website.css');
book.should.have.file('gitbook/style.css');
});
it('should not copy ebook assets', function() {
book.should.not.have.file('gitbook/ebook.css');
});
});
});