More tests WRT #1503
This commit is contained in:
parent
4bdf5a9005
commit
a43fa14f34
2 changed files with 2 additions and 1 deletions
|
@ -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"'
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@ layout: false
|
|||
|
||||
= image_tag '100px.jpg', srcset: "100px.jpg 1x, 200px.jpg 2x, 300px.jpg 3x"
|
||||
|
||||
= image_tag "100px.jpg"
|
||||
= image_tag "300px.jpg"
|
Loading…
Reference in a new issue