features/markdown.feature in tigefa-1.1.2 vs features/markdown.feature in tigefa-1.1.3
- old
+ new
@@ -11,12 +11,12 @@
| title | date | content | type |
| Hackers | 2009-03-27 | # My Title | markdown |
When I run jekyll
Then the _site directory should exist
And I should see "Index" in "_site/index.html"
- And I should see "<h1 id=\"my_title\">My Title</h1>" in "_site/2009/03/27/hackers.html"
- And I should see "<h1 id=\"my_title\">My Title</h1>" in "_site/index.html"
+ And I should see "<h1 id='my_title'>My Title</h1>" in "_site/2009/03/27/hackers.html"
+ And I should see "<h1 id='my_title'>My Title</h1>" in "_site/index.html"
Scenario: Markdown in pagination on index
Given I have a configuration file with "paginate" set to "5"
And I have an "index.html" page that contains "Index - {% for post in paginator.posts %} {{ post.content }} {% endfor %}"
And I have a _posts directory
@@ -24,44 +24,7 @@
| title | date | content | type |
| Hackers | 2009-03-27 | # My Title | markdown |
When I run jekyll
Then the _site directory should exist
And I should see "Index" in "_site/index.html"
- And I should see "<h1 id=\"my_title\">My Title</h1>" in "_site/index.html"
-
- Scenario: Maruku fenced codeblocks
- Given I have a configuration file with "markdown" set to "maruku"
- And I have an "index.markdown" file with content:
- """
- ---
- title: My title
- ---
-
- # My title
-
- ```
- My awesome code
- ```
- """
- When I run jekyll
- Then the _site directory should exist
- And I should see "My awesome code" in "_site/index.html"
- And I should see "<pre><code>\nMy awesome code\n</code></pre>" in "_site/index.html"
-
- Scenario: Maruku fenced codeblocks
- Given I have a configuration file with "markdown" set to "maruku"
- And I have an "index.markdown" file with content:
- """
- ---
- title: My title
- ---
-
- # My title
-
- ```ruby
- puts "My awesome string"
- ```
- """
- When I run jekyll
- Then the _site directory should exist
- And I should see "My awesome string" in "_site/index.html"
- And I should see "<pre class="ruby"><code class="ruby">\nputs "My awesome string"\n</code></pre>" in "_site/index.html"
+ And I should see "<h1 id='my_title'>My Title</h1>" in "_site/index.html"
+
\ No newline at end of file