fix cucumber feature to obey new date format

This commit is contained in:
maul.esel 2013-06-11 16:28:50 +02:00
parent 5a990f7854
commit 1e15df0701
1 changed files with 7 additions and 7 deletions

View File

@ -10,13 +10,13 @@ Feature: Include tags
And I have an "_includes/ignore.html" file that contains "<footer>My blog footer</footer>" And I have an "_includes/ignore.html" file that contains "<footer>My blog footer</footer>"
And I have a _posts directory And I have a _posts directory
And I have the following post: And I have the following post:
| title | date | layout | content | | title | date | layout | content |
| Include Files | 3/21/2013 | default | {% include header.html param="myparam" %} | | Include Files | 2013-03-21 | default | {% include header.html param="myparam" %} |
| Ignore params if unused | 3/21/2013 | default | {% include ignore.html date="today" %} | | Ignore params if unused | 2013-03-21 | default | {% include ignore.html date="today" %} |
| List multiple parameters | 3/21/2013 | default | {% include params.html date="today" start="tomorrow" %} | | List multiple parameters | 2013-03-21 | default | {% include params.html date="today" start="tomorrow" %} |
| Dont keep parameters | 3/21/2013 | default | {% include ignore.html param="test" %}\n{% include header.html %} | | Dont keep parameters | 2013-03-21 | default | {% include ignore.html param="test" %}\n{% include header.html %} |
| Allow params with spaces and quotes | 4/07/2013 | default | {% include params.html cool="param with spaces" super="\"quoted\"" %} | | Allow params with spaces and quotes | 2013-04-07 | default | {% include params.html cool="param with spaces" super="\"quoted\"" %} |
| Parameter syntax | 4/12/2013 | default | {% include params.html param1_or_2="value" %} | | Parameter syntax | 2013-04-12 | default | {% include params.html param1_or_2="value" %} |
When I run jekyll When I run jekyll
Then the _site directory should exist Then the _site directory should exist
And I should see "<header>My awesome blog header: myparam</header>" in "_site/2013/03/21/include-files.html" And I should see "<header>My awesome blog header: myparam</header>" in "_site/2013/03/21/include-files.html"