summaryrefslogtreecommitdiffstats
path: root/test/website.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-10-06 13:26:32 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-06 13:26:32 +0200
commitba65e3c020faa46eead7376c73af29e5e5839d8b (patch)
tree86b63fcc7195ebbc33b325b4ef6846cc59367ddf /test/website.js
parentc19ab952e3a2e4298dbb53a7bc77169509b2c526 (diff)
downloadgitbook-ba65e3c020faa46eead7376c73af29e5e5839d8b.zip
gitbook-ba65e3c020faa46eead7376c73af29e5e5839d8b.tar.gz
gitbook-ba65e3c020faa46eead7376c73af29e5e5839d8b.tar.bz2
Adapt tests
Diffstat (limited to 'test/website.js')
-rw-r--r--test/website.js18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/website.js b/test/website.js
index ebbd18c..4b1c4de 100644
--- a/test/website.js
+++ b/test/website.js
@@ -1,22 +1,22 @@
-describe("Website generator", function () {
- describe("Basic Book", function() {
+describe('Website generator', function () {
+ describe('Basic Book', function() {
var book;
before(function() {
- return books.generate("basic", "website")
+ return books.generate('basic', 'website')
.then(function(_book) {
book = _book;
});
});
- it("should correctly output an index.html", function() {
- book.should.have.file("index.html");
+ it('should correctly output an index.html', function() {
+ book.should.have.file('index.html');
});
- it("should correctly copy assets", function() {
- book.should.have.file("gitbook");
- book.should.have.file("gitbook/app.js");
- book.should.have.file("gitbook/style.css");
+ 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');
});
});
});