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/templating.js | |
parent | 5a205346e3d125b1c834220ce98a206d88697811 (diff) | |
download | gitbook-1fd00068595dfced5a0f16ac05ae2553d09608bc.zip gitbook-1fd00068595dfced5a0f16ac05ae2553d09608bc.tar.gz gitbook-1fd00068595dfced5a0f16ac05ae2553d09608bc.tar.bz2 |
Lint all tests
Diffstat (limited to 'test/templating.js')
-rw-r--r-- | test/templating.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/templating.js b/test/templating.js index af29d25..f92154b 100644 --- a/test/templating.js +++ b/test/templating.js @@ -1,6 +1,6 @@ var pkg = require("../package.json"); -describe('Templating', function () { +describe("Templating", function () { var book; before(function() { @@ -12,19 +12,19 @@ describe('Templating', function () { var testTpl = function(str, args, options) { return book.template.renderString(str, args, options) - .then(book.template.postProcess) + .then(book.template.postProcess); }; - describe('Context', function() { - it('should correctly have access to generator', function() { - return testTpl('{{ gitbook.generator }}') + describe("Context", function() { + it("should correctly have access to generator", function() { + return testTpl("{{ gitbook.generator }}") .then(function(content) { content.should.equal("website"); }); }); - it('should correctly have access to gitbook version', function() { - return testTpl('{{ gitbook.version }}') + it("should correctly have access to gitbook version", function() { + return testTpl("{{ gitbook.version }}") .then(function(content) { content.should.equal(pkg.version.toString()); }); |