2011-08-31 21:22:45 +02:00
|
|
|
Feature: Markdown support
|
|
|
|
In order to test included Maruku support
|
|
|
|
|
|
|
|
Scenario: Rendering html
|
2011-12-14 19:22:06 +01:00
|
|
|
Given the Server is running at "markdown-app"
|
|
|
|
When I go to "/index.html"
|
|
|
|
Then I should see "<p>Hello World</p>"
|
|
|
|
|
|
|
|
Scenario: Redcarpet 2 extensions
|
|
|
|
Given the Server is running at "markdown-app"
|
|
|
|
When I go to "/smarty_pants.html"
|
2012-05-02 07:46:38 +02:00
|
|
|
Then I should see "“"
|
2011-12-14 19:22:06 +01:00
|
|
|
When I go to "/no_intra_emphasis.html"
|
|
|
|
Then I should not see "<em>"
|
|
|
|
When I go to "/tables.html"
|
|
|
|
Then I should see "<table>"
|
2012-05-02 07:46:38 +02:00
|
|
|
# Maruku doesn't support fenced code blocks :-(
|
|
|
|
#When I go to "/fenced_code_blocks.html"
|
|
|
|
#Then I should see "<code>"
|
|
|
|
# or autolink
|
|
|
|
#When I go to "/autolink.html"
|
|
|
|
#Then I should see "<a href"
|
|
|
|
# or del
|
|
|
|
#When I go to "/strikethrough.html"
|
|
|
|
#Then I should see "<del>"
|
2011-12-14 19:22:06 +01:00
|
|
|
When I go to "/space_after_headers.html"
|
|
|
|
Then I should not see "<h1>"
|
2012-05-02 07:46:38 +02:00
|
|
|
# or superscript
|
|
|
|
#When I go to "/superscript.html"
|
|
|
|
#Then I should see "<sup>"
|
2011-12-14 19:22:06 +01:00
|
|
|
|