features/site_configuration.feature in jekyll-2.0.0.rc1 vs features/site_configuration.feature in jekyll-2.0.0

- old
+ new

@@ -103,9 +103,18 @@ When I run jekyll build Then the _site directory should exist And I should see "Hello world!" in "_site/index.html" And I should see "class=\"highlight\"" in "_site/index.html" + Scenario: Rouge renders code block once + Given I have a configuration file with "highlighter" set to "rouge" + And I have a _posts directory + And I have the following post: + | title | date | layout | content | + | foo | 2014-04-27 11:34 | default | {% highlight text %} test {% endhighlight %} | + When I run jekyll build + Then I should not see "highlight(.*)highlight" in "_site/2014/04/27/foo.html" + Scenario: Set time and no future dated posts Given I have a _layouts directory And I have a page layout that contains "Page Layout: {{ site.posts.size }} on {{ site.time | date: "%Y-%m-%d" }}" And I have a post layout that contains "Post Layout: {{ content }}" And I have an "index.html" page with layout "page" that contains "site index page"