Logo: Relish

  1. Sign in

Project: Middleman-core

Wildcards in Page helper

Scenarios
Setting the layout for a folder
Given
the Server is running at "wildcard-app"
When
I go to "/index.html"
Then
I should see "Normal Layout"
When
I go to "/admin/index.html"
Then
I should see "Admin Layout"
When
I go to "/admin/page.html"
Then
I should see "Admin Layout"
Setting the layout for a folder
Given
the Server is running at "wildcard-directory-index-app"
When
I go to "/"
Then
I should see "Normal Layout"
When
I go to "/admin/"
Then
I should see "Admin Layout"
When
I go to "/admin/page/"
Then
I should see "Admin Layout"

Last published about 5 years ago by middleman.