2010-09-06 19:59:51 +02:00
|
|
|
Feature: Built-in page_classes view helper
|
|
|
|
In order to generate body classes for views
|
|
|
|
|
|
|
|
Scenario: Viewing the root path
|
|
|
|
Given the Server is running
|
2011-07-07 07:41:12 +02:00
|
|
|
When I go to "/page-classes.html"
|
|
|
|
Then I should see "page-classes"
|
2010-09-06 19:59:51 +02:00
|
|
|
|
|
|
|
Scenario: Viewing a tier-1 path
|
|
|
|
Given the Server is running
|
2011-07-07 07:41:12 +02:00
|
|
|
When I go to "/sub1/page-classes.html"
|
|
|
|
Then I should see "sub1 sub1_page-classes"
|
2010-09-06 19:59:51 +02:00
|
|
|
|
|
|
|
Scenario: Viewing a tier-2 path
|
|
|
|
Given the Server is running
|
2011-07-07 07:41:12 +02:00
|
|
|
When I go to "/sub1/sub2/page-classes.html"
|
|
|
|
Then I should see "sub1 sub1_sub2 sub1_sub2_page-classes"
|