All tests/features run in 1.8 and 1.9.
This commit is contained in:
parent
6a31e650f3
commit
155cbd1463
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue