From 4afcd722ae16a33d5a4f244e012086637df5ef24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Wed, 2 Mar 2016 11:22:12 +0100 Subject: [PATCH] Fix page description tests --- test/page.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/page.js b/test/page.js index 1dd00ba2b..b9ad42c5d 100644 --- a/test/page.js +++ b/test/page.js @@ -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'); }); });