All tests/features run in 1.8 and 1.9.

This commit is contained in:
Tom Preston-Werner 2011-04-24 19:16:13 +08:00
parent 6a31e650f3
commit 155cbd1463
2 changed files with 3 additions and 3 deletions

View File

@ -31,10 +31,10 @@ Feature: Post data
And I have the following post: And I have the following post:
| title | date | layout | content | | title | date | layout | content |
| Star Wars | 3/27/2009 | simple | Luke, I am your father. | | 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 When I run jekyll
Then the _site directory should exist 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 Scenario: Use post.id variable
Given I have a _posts directory Given I have a _posts directory

View File

@ -16,4 +16,4 @@ def run_jekyll(opts = {})
end end
# work around "invalid option: --format" cucumber bug (see #296) # work around "invalid option: --format" cucumber bug (see #296)
# Test::Unit.run = true Test::Unit.run = true if RUBY_VERSION < '1.9'