To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorProvide Sane Defaults for Layout Behavior
- Scenarios
-
- Template and Layout of same engine exist
- Template and Layout of different engine
- Multiple layouts exist, prefer same engine
- No layout exists
- Manually set default layout in config (exists)
- Manually set default layout in config (does not exist)
- Overwrite manual layout
- Template and Layout of same engine exist
-
- Given
- the Server is running at "engine-matching-layout"
- When
- I go to "/index.html"
- Then
- I should see "Comment in layout"
- Template and Layout of different engine
-
- Given
- the Server is running at "different-engine-layout"
- When
- I go to "/index.html"
- Then
- I should see "Comment in layout"
- Multiple layouts exist, prefer same engine
-
- Given
- the Server is running at "multiple-layouts"
- When
- I go to "/index.html"
- Then
- I should see "ERb Comment in layout"
- No layout exists
-
- Given
- the Server is running at "no-layout"
- When
- I go to "/index.html"
- Then
- I should not see "Comment in layout"
- Manually set default layout in config (exists)
-
- Given
- the Server is running at "manual-layout"
- When
- I go to "/index.html"
- Then
- I should see "Custom Comment in layout"
- Manually set default layout in config (does not exist)
-
- Given
- the Server is running at "manual-layout-missing"
- When
- I go to "/index.html"
- Then
- I should see "Error"
- Overwrite manual layout
-
- Given
- the Server is running at "manual-layout-override"
- When
- I go to "/index.html"
- Then
- I should see "Another Comment in layout"
Last published over 7 years ago by middleman.