summaryrefslogtreecommitdiffstats
path: root/test/languages.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-01-22 21:04:36 +0100
committerSamy Pessé <samypesse@gmail.com>2016-01-22 21:04:36 +0100
commit877f2e477b010f9f37a9044606f110a90f077680 (patch)
tree5cd61cf3b00ba10dc6110535ed9fdf67d8baba72 /test/languages.js
parentc8e2fc0e57d223c01a51d6ee186fc1662cd74d13 (diff)
downloadgitbook-877f2e477b010f9f37a9044606f110a90f077680.zip
gitbook-877f2e477b010f9f37a9044606f110a90f077680.tar.gz
gitbook-877f2e477b010f9f37a9044606f110a90f077680.tar.bz2
Start rewrite
Diffstat (limited to 'test/languages.js')
-rw-r--r--test/languages.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/languages.js b/test/languages.js
deleted file mode 100644
index 0bde347..0000000
--- a/test/languages.js
+++ /dev/null
@@ -1,37 +0,0 @@
-describe("Languages", function () {
- describe("Parsing", function() {
- var book;
-
- before(function() {
- return books.parse("languages")
- .then(function(_book) {
- book = _book;
- });
- });
-
- it("should correctly list languages", function() {
- book.should.have.property("books");
- book.books.should.have.lengthOf(2);
-
- book.books[0].options.language.should.be.equal("en");
- book.books[1].options.language.should.be.equal("fr");
- });
- });
-
- describe("Generation", function() {
- var book;
-
- before(function() {
- return books.generate("languages", "website")
- .then(function(_book) {
- book = _book;
- });
- });
-
- it("should correctly create books", function() {
- book.should.have.file("index.html");
- book.should.have.file("en/index.html");
- book.should.have.file("fr/index.html");
- });
- });
-});