summaryrefslogtreecommitdiffstats
path: root/test/page.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/page.js')
-rw-r--r--test/page.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/page.js b/test/page.js
index 1dd00ba..b9ad42c 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');
});
});