Logo: Relish

  1. Sign in

Project: Middleman-core

Local Data API

In order to abstract content from structure

Scenarios
Rendering html
Given
the Server is running at "basic-data-app"
When
I go to "/data.html"
Then
I should see "One:Two"
Rendering json
Given
the Server is running at "basic-data-app"
When
I go to "/data3.html"
Then
I should see "One:Two"
Using data in config.rb
Given
the Server is running at "data-app"
When
I go to "/test1.html"
Then
I should see "Welcome"
Using data2 in config.rb
Given
the Server is running at "data-app"
When
I go to "/test2.html"
Then
I should see "Welcome"

Last published about 5 years ago by middleman.