1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/features/wildcard_page_helper.feature

19 lines
655 B
Gherkin
Raw Normal View History

2011-12-07 14:26:49 -05:00
Feature: Wildcards in Page helper
Scenario: 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"
Scenario: 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.html"
Then I should see "Admin Layout"