2011-12-07 20:26:49 +01: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"
|
2012-02-05 08:07:02 +01:00
|
|
|
When I go to "/admin/page/"
|
2011-12-07 20:26:49 +01:00
|
|
|
Then I should see "Admin Layout"
|