diff --git a/test/scripts/tags/asset_img.js b/test/scripts/tags/asset_img.js index 0adc7e60cb..d8f0709c09 100644 --- a/test/scripts/tags/asset_img.js +++ b/test/scripts/tags/asset_img.js @@ -50,7 +50,7 @@ describe('asset_img', () => { }); it('default', () => { - assetImg('bar title').should.eql(''); + assetImg('bar "a title"').should.eql(''); }); it('with space', () => { @@ -60,13 +60,13 @@ describe('asset_img', () => { }); it('with alt and title', () => { - assetImgTag.call(post, ['bar', '"title"', '"alt"']) - .should.eql('alt'); + assetImgTag.call(post, ['bar', '"a title"', '"an alt"']) + .should.eql('an alt'); }); it('with width height alt and title', () => { - assetImgTag.call(post, ['bar', '100', '200', '"title"', '"alt"']) - .should.eql('alt'); + assetImgTag.call(post, ['bar', '100', '200', '"a title"', '"an alt"']) + .should.eql('an alt'); }); it('no slug', () => {