1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/features/tiny_src.feature

15 lines
No EOL
553 B
Gherkin

@wip
Feature: Tiny Src
In order automatically scale images for mobile devices
Scenario: Rendering html with the feature disabled
Given "tiny_src" feature is "disabled"
And the Server is running at "test-app"
When I go to "/tiny_src.html"
Then I should see "http://test.com/image.jpg"
Scenario: Rendering html with the feature enabled
Given "tiny_src" feature is "enabled"
And the Server is running at "test-app"
When I go to "/tiny_src.html"
Then I should see "http://i.tinysrc.mobi/http://test.com/image.jpg"