1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00
middleman--middleman/middleman-more/features/content_for.feature

11 lines
484 B
Gherkin
Raw Normal View History

Feature: Support content_for and yield_content helpers
Scenario: content_for works as expected in haml
Given the Server is running at "content-for-app"
When I go to "/content_for_haml.html"
Then I should see "In Layout: I am the yielded content haml"
Scenario: content_for works as expected in slim
Given the Server is running at "content-for-app"
When I go to "/content_for_slim.html"
Then I should see "In Layout: I am the yielded content slim"