Merge pull request #4552 from zethraeus/master

Update downsize node module. Small test updates.
This commit is contained in:
Hannah Wolfe 2014-12-14 23:11:08 +00:00
commit 67118911e5
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ describe('{{content}} helper', function () {
);
should.exist(rendered);
rendered.string.should.equal('<p>Hello <strong>World</strong></p>');
rendered.string.should.equal('<p>Hello <strong>World!</strong></p>');
});
it('can truncate html to 0 words', function () {

View File

@ -59,7 +59,7 @@ describe('{{excerpt}} Helper', function () {
it('can truncate html by word', function () {
var html = '<p>Hello <strong>World! It\'s me!</strong></p>',
expected = 'Hello World',
expected = 'Hello World!',
rendered = (
helpers.excerpt.call(
{html: html},

View File

@ -40,7 +40,7 @@
"colors": "0.6.2",
"compression": "1.2.0",
"connect-slashes": "1.2.0",
"downsize": "0.0.5",
"downsize": "0.0.8",
"express": "4.10.2",
"express-hbs": "0.7.11",
"extract-zip": "1.0.3",