refactor Server into a dynamically loadable class
This commit is contained in:
parent
61ef9ee3da
commit
17be87bafd
30 changed files with 300 additions and 337 deletions
14
features/automatic_image_sizes.feature
Normal file
14
features/automatic_image_sizes.feature
Normal file
|
@ -0,0 +1,14 @@
|
|||
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"
|
||||
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"
|
||||
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