Move off-by-default extensions into middleman-more, make middleman-more itself an extension
This commit is contained in:
parent
182ad87ad3
commit
1cad726c81
92 changed files with 902 additions and 758 deletions
16
middleman-more/features/automatic_image_sizes.feature
Normal file
16
middleman-more/features/automatic_image_sizes.feature
Normal file
|
@ -0,0 +1,16 @@
|
|||
Feature: Automatically detect and insert image dimensions into tags
|
||||
In order to speed up development and appease YSlow
|
||||
|
||||
Scenario: Rendering an image with the feature disabled
|
||||
Given "automatic_image_sizes" feature is "disabled"
|
||||
And the Server is running at "automatic-image-size-app"
|
||||
When I go to "/auto-image-sizes.html"
|
||||
Then I should not see "width="
|
||||
And I should not see "height="
|
||||
|
||||
Scenario: Rendering an image with the feature enabled
|
||||
Given "automatic_image_sizes" feature is "enabled"
|
||||
And the Server is running at "automatic-image-size-app"
|
||||
When I go to "/auto-image-sizes.html"
|
||||
Then I should see "width="
|
||||
And I should see "height="
|
Loading…
Add table
Add a link
Reference in a new issue