summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ebook.js1
-rw-r--r--test/fixtures/test4/README.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/ebook.js b/test/ebook.js
index b82bb19..e0083c8 100644
--- a/test/ebook.js
+++ b/test/ebook.js
@@ -16,6 +16,7 @@ describe('eBook Generator', function () {
it('should correctly convert svg images to png', function(done) {
testGeneration(books[4], "ebook", function(output) {
assert(fs.existsSync(path.join(output, "test.png")));
+ assert(fs.existsSync(path.join(output, "NewTux.png")));
}, done);
});
});
diff --git a/test/fixtures/test4/README.md b/test/fixtures/test4/README.md
index 6d7efdc..0d3bd13 100644
--- a/test/fixtures/test4/README.md
+++ b/test/fixtures/test4/README.md
@@ -3,3 +3,4 @@
A description
![test image to be converted](./test.svg)
+![test url](http://upload.wikimedia.org/wikipedia/commons/b/b0/NewTux.svg)