Avoid JRuby whitespace issue

This commit is contained in:
Thomas Reynolds 2012-06-02 15:32:04 -07:00
parent e26b68635f
commit 02871f5fcc

View file

@ -25,11 +25,7 @@ Feature: Allow nesting of layouts
Scenario: A page uses an inner layout when uses an outer layout (slim) Scenario: A page uses an inner layout when uses an outer layout (slim)
Given the Server is running at "nested-layout-app" Given the Server is running at "nested-layout-app"
When I go to "/slim-test.html" When I go to "/slim-test.html"
Then I should see: Then I should see "<h1>Master</h1><p>New Article Title</p><div><h2>Outer</h2><h3>Inner</h3><p>The Article Content</p>"
"""
<h1>Master</h1><p>New Article Title</p><div><h2>Outer</h2><h3>Inner</h3><p>The Article Content</p>
</div>
"""
Scenario: A page uses an inner layout when uses an outer layout (haml) Scenario: A page uses an inner layout when uses an outer layout (haml)
Given the Server is running at "nested-layout-app" Given the Server is running at "nested-layout-app"