summaryrefslogtreecommitdiffstats
path: root/test/json.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/json.js')
-rw-r--r--test/json.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/json.js b/test/json.js
index db4814b..7bebd4c 100644
--- a/test/json.js
+++ b/test/json.js
@@ -1,9 +1,11 @@
describe('JSON generator', function () {
- it('should correctly generate a basic book to json', function() {
- return books.generate("basic", "json")
- .then(function(book) {
-
- });
+ describe('Basic Book', function() {
+ it('should correctly output a README.json', function() {
+ return books.generate("basic", "json")
+ .then(function(book) {
+ book.should.have.file("README.json");
+ });
+ });
});
});