mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
Merge pull request #4552 from zethraeus/master
Update downsize node module. Small test updates.
This commit is contained in:
commit
67118911e5
@ -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 () {
|
||||
|
@ -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},
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user