fix typos in test for partials with engine different than layout

This commit is contained in:
Eric Skogen 2011-12-01 02:35:40 -06:00
parent c6209b2869
commit 5c07fd0ea9
9 changed files with 9 additions and 13 deletions

View file

@ -37,5 +37,5 @@ Feature: Provide Sane Defaults for Partial Behavior
Scenario: Partial and Layout use different engines
Given the Server is running at "different-engine-partial"
When I go to "/index.html"
Then I should see "Slim Footer"
Then I should see "ERb Main"
And I should see "Slim Footer"

View file

@ -0,0 +1 @@
Index

View file

@ -0,0 +1,4 @@
<%= partial 'shared/erb' %>
<%= partial 'shared/footer' %>
<% yield %>

View file

@ -0,0 +1 @@
ERb Main

View file

@ -0,0 +1 @@
footer Slim Footer

View file

@ -1 +0,0 @@
<%= partial 'shared/footer' %>

View file

@ -1,9 +0,0 @@
<html>
<head>
<title>My Sample Site</title>
<!-- Comment in layout -->
</head>
<body>
<%= yield %>
</body>
</html>

View file

@ -1 +0,0 @@
Slim Footer