2011-08-31 15:22:45 -04:00
|
|
|
Feature: Markdown support
|
|
|
|
In order to test included Maruku support
|
|
|
|
|
|
|
|
Scenario: Rendering html
|
2011-12-14 13:22:06 -05:00
|
|
|
Given the Server is running at "markdown-app"
|
|
|
|
When I go to "/index.html"
|
|
|
|
Then I should see "<p>Hello World</p>"
|
2013-04-07 01:55:49 -04:00
|
|
|
|
|
|
|
@encoding
|
2012-05-02 18:27:47 -04:00
|
|
|
Scenario: Markdown extensions (Maruku)
|
2011-12-14 13:22:06 -05:00
|
|
|
Given the Server is running at "markdown-app"
|
|
|
|
When I go to "/smarty_pants.html"
|
2013-04-14 15:28:35 -04:00
|
|
|
Then I should see "“Hello”"
|
|
|
|
|
2013-06-12 16:52:35 -04:00
|
|
|
Scenario: Links with block syntax in ERB layout (erb)
|
|
|
|
Given the Server is running at "more-markdown-app"
|
2013-04-14 15:28:35 -04:00
|
|
|
When I go to "/with_layout_erb.html"
|
|
|
|
Then I should see '<a href="layout_block_link.html">'
|
|
|
|
|
2013-06-12 16:52:35 -04:00
|
|
|
Scenario: Links with block syntax in ERB layout and markdown
|
|
|
|
Given the Server is running at "more-markdown-app"
|
2013-04-14 15:28:35 -04:00
|
|
|
When I go to "/with_layout.html"
|
|
|
|
Then I should see '<a href="layout_block_link.html">'
|