diff --git a/features/post_data.feature b/features/post_data.feature index 36fe9382..c6d45b04 100644 --- a/features/post_data.feature +++ b/features/post_data.feature @@ -31,10 +31,10 @@ Feature: Post data And I have the following post: | title | date | layout | content | | Star Wars | 3/27/2009 | simple | Luke, I am your father. | - And I have a simple layout that contains "Post date: {{ page.date }}" + And I have a simple layout that contains "Post date: {{ page.date | date_to_string }}" When I run jekyll Then the _site directory should exist - And I should see "Post date: Fri Mar 27" in "_site/2009/03/27/star-wars.html" + And I should see "Post date: 27 Mar 2009" in "_site/2009/03/27/star-wars.html" Scenario: Use post.id variable Given I have a _posts directory diff --git a/features/support/env.rb b/features/support/env.rb index c6642fd9..3166ce9c 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -16,4 +16,4 @@ def run_jekyll(opts = {}) end # work around "invalid option: --format" cucumber bug (see #296) -# Test::Unit.run = true +Test::Unit.run = true if RUBY_VERSION < '1.9'