Fix page description tests

This commit is contained in:
Samy Pessé
2016-03-02 11:22:12 +01:00
parent 21d6964230
commit 4afcd722ae
+3 -3
View File
@@ -132,12 +132,12 @@ describe('Page', function() {
});
describe('Description', function() {
it('should extratc page description from content', function() {
it('should extract page description from content', function() {
var page = book.addPage('description.md');
return page.toHTML(output)
.then(function() {
page.description.should.equal('This is the short description.');
page.attributes.description.should.equal('This is the short description.');
});
});
});
@@ -148,7 +148,7 @@ describe('Page', function() {
return page.toHTML(output)
.then(function() {
page.description.should.equal('Hello World');
page.attributes.description.should.equal('Hello World');
});
});