tinysrc feature (unfinished)
This commit is contained in:
parent
ab16d6f2e6
commit
16ffd59ef9
5 changed files with 28 additions and 0 deletions
12
features/tiny_src.feature
Normal file
12
features/tiny_src.feature
Normal file
|
@ -0,0 +1,12 @@
|
|||
Feature: Tiny Src
|
||||
In order automatically scale images for mobile devices
|
||||
|
||||
Scenario: Rendering html with the feature disabled
|
||||
Given "tiny_src" feature is "disabled"
|
||||
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"
|
||||
When I go to "/tiny_src.html"
|
||||
Then I should see "http://i.tinysrc.mobi/http://test.com/image.jpg"
|
Loading…
Add table
Add a link
Reference in a new issue