diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-09-15 14:20:32 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-09-15 14:20:32 +0200 |
commit | 1fd00068595dfced5a0f16ac05ae2553d09608bc (patch) | |
tree | 1605473bf22c7e4ab90a6cc9bebf5cb807fa1d90 /test/languages.js | |
parent | 5a205346e3d125b1c834220ce98a206d88697811 (diff) | |
download | gitbook-1fd00068595dfced5a0f16ac05ae2553d09608bc.zip gitbook-1fd00068595dfced5a0f16ac05ae2553d09608bc.tar.gz gitbook-1fd00068595dfced5a0f16ac05ae2553d09608bc.tar.bz2 |
Lint all tests
Diffstat (limited to 'test/languages.js')
-rw-r--r-- | test/languages.js | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/test/languages.js b/test/languages.js index abdc5dd..0bde347 100644 --- a/test/languages.js +++ b/test/languages.js @@ -1,8 +1,5 @@ -var fs = require('fs'); -var path = require('path'); - -describe('Languages', function () { - describe('Parsing', function() { +describe("Languages", function () { + describe("Parsing", function() { var book; before(function() { @@ -12,7 +9,7 @@ describe('Languages', function () { }); }); - it('should correctly list languages', function() { + it("should correctly list languages", function() { book.should.have.property("books"); book.books.should.have.lengthOf(2); @@ -21,7 +18,7 @@ describe('Languages', function () { }); }); - describe('Generation', function() { + describe("Generation", function() { var book; before(function() { @@ -31,7 +28,7 @@ describe('Languages', function () { }); }); - it('should correctly create books', function() { + it("should correctly create books", function() { book.should.have.file("index.html"); book.should.have.file("en/index.html"); book.should.have.file("fr/index.html"); |