middleman/features/tiny_src.feature

15 lines
525 B
Gherkin
Raw Normal View History

@wip
2011-04-25 22:45:54 +02:00
Feature: Tiny Src
In order automatically scale images for mobile devices
Scenario: Rendering html with the feature disabled
Given "tiny_src" feature is "disabled"
2011-07-24 07:53:17 +02:00
And the Server is running
2011-04-25 22:45:54 +02:00
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"
2011-07-24 07:53:17 +02:00
And the Server is running
2011-04-25 22:45:54 +02:00
When I go to "/tiny_src.html"
Then I should see "http://i.tinysrc.mobi/http://test.com/image.jpg"