summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ebook.js4
-rw-r--r--test/website.js6
2 files changed, 9 insertions, 1 deletions
diff --git a/test/ebook.js b/test/ebook.js
index 335699c..6c84462 100644
--- a/test/ebook.js
+++ b/test/ebook.js
@@ -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() {
diff --git a/test/website.js b/test/website.js
index 4b1c4de..6a0fd1c 100644
--- a/test/website.js
+++ b/test/website.js
@@ -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');
});
});
});