summaryrefslogtreecommitdiffstats
path: root/test/json.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-09-15 11:31:50 +0200
committerSamy Pessé <samypesse@gmail.com>2015-09-15 11:31:50 +0200
commit45833eea9ad5fb97ab5e5095e4e4b8e3481c7d2e (patch)
tree6e65138a3cc6764525193ceeb6cd057ea0a7851b /test/json.js
parentbaf10e9b159b64c30ce650c83eb437675434e3e2 (diff)
downloadgitbook-45833eea9ad5fb97ab5e5095e4e4b8e3481c7d2e.zip
gitbook-45833eea9ad5fb97ab5e5095e4e4b8e3481c7d2e.tar.gz
gitbook-45833eea9ad5fb97ab5e5095e4e4b8e3481c7d2e.tar.bz2
Add test for navigation
Update mocha and should
Diffstat (limited to 'test/json.js')
-rw-r--r--test/json.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json.js b/test/json.js
index 0e50237..758cfd7 100644
--- a/test/json.js
+++ b/test/json.js
@@ -35,7 +35,7 @@ describe('JSON generator', function () {
it('should contains valid section', function() {
page.should.have.property("sections").with.lengthOf(1);
page.sections[0].should.have.property("content").which.is.a.String;
- page.sections[0].should.have.property("type").which.is.a.String.which.equal("normal");
+ page.sections[0].should.have.property("type", "normal");
});
it('should contains valid progress', function() {