summaryrefslogtreecommitdiffstats
path: root/test/exports.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/exports.js')
-rw-r--r--test/exports.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/exports.js b/test/exports.js
new file mode 100644
index 0000000..ae298dc
--- /dev/null
+++ b/test/exports.js
@@ -0,0 +1,12 @@
+var should = require('should');
+var gitbook = require('../');
+
+describe('Exports', function() {
+ it('should export the Book class', function() {
+ should(gitbook.Book).be.a.Function();
+ });
+
+ it('should export the list of commands', function() {
+ should(gitbook.commands).be.an.Array();
+ });
+});