diff --git a/middleman-core/features/asset_hash.feature b/middleman-core/features/asset_hash.feature index 576e22c4..9f8aa742 100644 --- a/middleman-core/features/asset_hash.feature +++ b/middleman-core/features/asset_hash.feature @@ -79,6 +79,7 @@ Feature: Assets get a file hash appended to their and references to them are upd Scenario: Hashed assets work with Slim Given the Server is running at "asset-hash-app" When I go to "/slim.html" + And I should see 'src="images/300px-59adce76.jpg"' And I should see 'src="images/100px-5fd6fb90.jpg"' And I should see 'srcset="images/100px-5fd6fb90.jpg 1x, images/200px-c11eb203.jpg 2x, images/300px-59adce76.jpg 3x"' diff --git a/middleman-core/fixtures/asset-hash-app/source/slim.html.slim b/middleman-core/fixtures/asset-hash-app/source/slim.html.slim index 65d81609..dc74a5ee 100644 --- a/middleman-core/fixtures/asset-hash-app/source/slim.html.slim +++ b/middleman-core/fixtures/asset-hash-app/source/slim.html.slim @@ -5,4 +5,4 @@ layout: false = image_tag '100px.jpg', srcset: "100px.jpg 1x, 200px.jpg 2x, 300px.jpg 3x" -= image_tag "100px.jpg" \ No newline at end of file += image_tag "300px.jpg" \ No newline at end of file