Improve test for parsing multilanguages books

This commit is contained in:
Samy Pessé
2015-01-19 15:48:22 +01:00
parent 2ae3924365
commit 2f3d6f8dff
+6
View File
@@ -31,5 +31,11 @@ describe('Book parsing', function () {
it('should correctly parse the languages', function() {
assert.equal(book2.books.length, 2);
assert.equal(book2.books[0].options.lang, "en");
assert.equal(book2.books[0].options.title, "English Book");
assert.equal(book2.books[1].options.lang, "fr");
assert.equal(book2.books[1].options.title, "French Book");
});
});