From 34ab8214cc3923870282d43be1ef8d2e7784e9c9 Mon Sep 17 00:00:00 2001 From: Henri Bergius Date: Tue, 12 Jul 2016 18:06:24 +0200 Subject: [PATCH] Add test for #60 --- spec/Flatten.coffee | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/spec/Flatten.coffee b/spec/Flatten.coffee index 53b7c43..e1786bc 100644 --- a/spec/Flatten.coffee +++ b/spec/Flatten.coffee @@ -681,7 +681,7 @@ describe 'Flatten', -> path: 'foo/bar.html' items: [ id: 'http://html5doctor.com/the-article-element/' - html: "

Apple

The apple is the pomaceous fruit of the apple tree...

Red Delicious

These bright red apples are the most common found in many supermarkets...

" + html: "

Apple

The apple is the pomaceous fruit of the apple tree...

Red Delicious

These bright red apples are the most common found in many supermarkets...

" ] expected = @@ -699,6 +699,10 @@ describe 'Flatten', -> title: 'Red Delicious' caption: 'These bright red apples are the most common found in many supermarkets...' src: 'http://www.theproducemom.com/wp-content/uploads/2012/01/red_delicious_jpg.jpg' + , + type: 'image' + html: "" + src: 'https://s3-us-west-2.amazonaws.com/the-grid-img/p/904a32ea9f56b9e7bf1b500e5e2e2217a090b225.jpg' ] ]