directory_indexes feature, some builder rename middleware and a bunch of test case cleanup. closes #63
This commit is contained in:
parent
c35a6fc369
commit
5602e35c88
38 changed files with 231 additions and 104 deletions
|
@ -3,19 +3,19 @@ Feature: Custom layouts
|
|||
|
||||
Scenario: Using custom :layout attribute
|
||||
Given page "/custom-layout.html" has layout "custom"
|
||||
And the Server is running
|
||||
And the Server is running at "test-app"
|
||||
When I go to "/custom-layout.html"
|
||||
Then I should see "Custom Layout"
|
||||
|
||||
Scenario: Using with_layout block
|
||||
Given "/custom-layout.html" with_layout block has layout "custom"
|
||||
And the Server is running
|
||||
And the Server is running at "test-app"
|
||||
When I go to "/custom-layout.html"
|
||||
Then I should see "Custom Layout"
|
||||
|
||||
Scenario: Using custom :layout attribute with folders
|
||||
Given page "/custom-layout-dir/" has layout "custom"
|
||||
And the Server is running
|
||||
And the Server is running at "test-app"
|
||||
When I go to "/custom-layout-dir"
|
||||
Then I should see "Custom Layout"
|
||||
When I go to "/custom-layout-dir/"
|
||||
|
@ -25,7 +25,7 @@ Feature: Custom layouts
|
|||
|
||||
Scenario: Using custom :layout attribute with folders
|
||||
Given page "/custom-layout-dir" has layout "custom"
|
||||
And the Server is running
|
||||
And the Server is running at "test-app"
|
||||
When I go to "/custom-layout-dir"
|
||||
Then I should see "Custom Layout"
|
||||
When I go to "/custom-layout-dir/"
|
||||
|
@ -35,7 +35,7 @@ Feature: Custom layouts
|
|||
|
||||
Scenario: Using custom :layout attribute with folders
|
||||
Given page "/custom-layout-dir/index.html" has layout "custom"
|
||||
And the Server is running
|
||||
And the Server is running at "test-app"
|
||||
When I go to "/custom-layout-dir"
|
||||
Then I should see "Custom Layout"
|
||||
When I go to "/custom-layout-dir/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue