diff options
Diffstat (limited to 'test/helper.js')
-rw-r--r-- | test/helper.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/helper.js b/test/helper.js index 8726667..f6b671b 100644 --- a/test/helper.js +++ b/test/helper.js @@ -27,6 +27,7 @@ function generateBook(bookId, test) { // Generate and return a book function parseBook(bookId, test) { + test = test || "website"; BOOKS[bookId] = BOOKS[bookId] || {}; if (BOOKS[bookId][test]) return Q(BOOKS[bookId][test]); |