mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
27 lines
No EOL
785 B
Gherkin
27 lines
No EOL
785 B
Gherkin
Feature: Local Data API
|
|
In order to abstract content from structure
|
|
|
|
Scenario: Rendering html
|
|
Given the Server is running at "test-app"
|
|
When I go to "/data.html"
|
|
Then I should see "One:Two"
|
|
|
|
Scenario: Rendering json
|
|
Given the Server is running at "test-app"
|
|
When I go to "/data3.html"
|
|
Then I should see "One:Two"
|
|
|
|
Scenario: Rendering liquid
|
|
Given the Server is running at "test-app"
|
|
When I go to "/data2.html"
|
|
Then I should see "OneTwo"
|
|
|
|
Scenario: Using data in config.rb
|
|
Given the Server is running at "data-app"
|
|
When I go to "/test1.html"
|
|
Then I should see "Welcome"
|
|
|
|
Scenario: Using data2 in config.rb
|
|
Given the Server is running at "data-app"
|
|
When I go to "/test2.html"
|
|
Then I should see "Welcome" |