summaryrefslogtreecommitdiffstats
path: root/test/parsing.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-23 18:59:01 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-23 18:59:01 +0100
commitd0f910d65fe4c0a1b611cf97deabe8797e239ef2 (patch)
tree178a5f3ec22bdf9da199c2ad68bbf8322a98bdf8 /test/parsing.js
parent8e41aca8a760f5de41cd9217ae5d8180175bb8f8 (diff)
downloadgitbook-d0f910d65fe4c0a1b611cf97deabe8797e239ef2.zip
gitbook-d0f910d65fe4c0a1b611cf97deabe8797e239ef2.tar.gz
gitbook-d0f910d65fe4c0a1b611cf97deabe8797e239ef2.tar.bz2
Fix language parsing test
Diffstat (limited to 'test/parsing.js')
-rw-r--r--test/parsing.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parsing.js b/test/parsing.js
index ef87a91..5f40594 100644
--- a/test/parsing.js
+++ b/test/parsing.js
@@ -43,10 +43,10 @@ describe('Book parsing', function () {
assert.equal(books[2].books.length, 2);
assert(books[2].isMultilingual());
- assert.equal(books[2].books[0].options.lang, "en");
+ assert.equal(books[2].books[0].options.language, "en");
assert.equal(books[2].books[0].options.title, "English Book");
- assert.equal(books[2].books[1].options.lang, "fr");
+ assert.equal(books[2].books[1].options.language, "fr");
assert.equal(books[2].books[1].options.title, "French Book");
});