aboutsummaryrefslogtreecommitdiff
path: root/test/document-to-html.tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/document-to-html.tests.js')
-rw-r--r--test/document-to-html.tests.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/document-to-html.tests.js b/test/document-to-html.tests.js
index 10ea265..0b4f905 100644
--- a/test/document-to-html.tests.js
+++ b/test/document-to-html.tests.js
@@ -513,8 +513,7 @@ describe('DocumentConverter', function() {
.then(function(result) {
return xml.readString(result.value);
})
- .then(function(htmlImageElementDocument) {
- var htmlImageElement = htmlImageElementDocument.root;
+ .then(function(htmlImageElement) {
assert.equal(htmlImageElement.attributes.alt, "It's a hat");
});
});