2011-07-06 19:29:07 +02:00
|
|
|
Feature: Local Data API
|
|
|
|
In order to abstract content from structure
|
|
|
|
|
2011-07-07 07:56:20 +02:00
|
|
|
Scenario: Rendering html
|
2011-07-28 04:59:38 +02:00
|
|
|
Given the Server is running at "test-app"
|
2011-07-06 19:29:07 +02:00
|
|
|
When I go to "/data.html"
|
2011-09-06 20:12:20 +02:00
|
|
|
Then I should see "One:Two"
|
|
|
|
|
2011-09-12 19:20:34 +02:00
|
|
|
Scenario: Rendering json
|
|
|
|
Given the Server is running at "test-app"
|
|
|
|
When I go to "/data3.html"
|
|
|
|
Then I should see "One:Two"
|
|
|
|
|
2011-09-06 20:12:20 +02:00
|
|
|
Scenario: Rendering liquid
|
|
|
|
Given the Server is running at "test-app"
|
|
|
|
When I go to "/data2.html"
|
|
|
|
Then I should see "OneTwo"
|