diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-04-15 11:33:38 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-04-15 11:33:38 +0200 |
commit | ba182ce8e430f08bd8c60865b9c853875a3d6483 (patch) | |
tree | b4faec7bcb72aa18148477aac1d921b1b6793276 | |
parent | 663291c51507837689b7281be5c07802f19c3d0e (diff) | |
download | gitbook-ba182ce8e430f08bd8c60865b9c853875a3d6483.zip gitbook-ba182ce8e430f08bd8c60865b9c853875a3d6483.tar.gz gitbook-ba182ce8e430f08bd8c60865b9c853875a3d6483.tar.bz2 |
Fix tests for copy of website theme
-rw-r--r-- | test/output-website.js | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/test/output-website.js b/test/output-website.js index 2d936be..aed10bc 100644 --- a/test/output-website.js +++ b/test/output-website.js @@ -20,7 +20,8 @@ describe('Website Output', function() { }); it('should correctly copy assets', function() { - output.should.have.file('gitbook/app.js'); + output.should.have.file('gitbook/gitbook.js'); + output.should.have.file('gitbook/theme.js'); output.should.have.file('gitbook/images/favicon.ico'); }); @@ -84,12 +85,16 @@ describe('Website Output', function() { }); it('should correctly copy assets', function() { - output.should.have.file('gitbook/app.js'); + output.should.have.file('gitbook/gitbook.js'); + output.should.have.file('gitbook/theme.js'); }); it('should not copy assets for each language', function() { - output.should.have.not.file('en/gitbook/app.js'); - output.should.have.not.file('fr/gitbook/app.js'); + output.should.have.not.file('en/gitbook/gitbook.js'); + output.should.have.not.file('fr/gitbook/gitbook.js'); + + output.should.have.not.file('en/gitbook/theme.js'); + output.should.have.not.file('fr/gitbook/theme.js'); }); it('should correctly generate an index.html', function() { |