Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix tables alignment in Cucumber features #2108

Merged
merged 2 commits into from

2 participants

@slavapavlutin

No description provided.

@parkr parkr merged commit 5ffbdd8 into jekyll:master
@parkr
Owner

Not entirely necessary, but I appreciate the contribution never the same. Thanks!

@slavapavlutin slavapavlutin deleted the unknown repository branch
@lmullen lmullen referenced this pull request from a commit in lmullen/jekyll
@parkr parkr Update history to reflect merge of #2108 [ci skip] ffc8ec8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
24 features/create_sites.feature
@@ -19,7 +19,7 @@ Feature: Create sites
Scenario: Basic site with a post
Given I have a _posts directory
And I have the following post:
- | title | date | content |
+ | title | date | content |
| Hackers | 2009-03-27 | My First Exploit |
When I run jekyll
Then the _site directory should exist
@@ -37,7 +37,7 @@ Feature: Create sites
Given I have a _layouts directory
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
+ | title | date | layout | content |
| Wargames | 2009-03-27 | default | The only winning move is not to play. |
And I have a default layout that contains "Post Layout: {{ content }}"
When I run jekyll
@@ -48,7 +48,7 @@ Feature: Create sites
Given I have a _layouts directory
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
+ | title | date | layout | content |
| Wargames | 2009-03-27 | post/simple | The only winning move is not to play. |
And I have a post/simple layout that contains "Post Layout: {{ content }}"
When I run jekyll
@@ -66,14 +66,14 @@ Feature: Create sites
And I have an "another_file" file that contains ""
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2009-03-27 | post | content for entry1. |
- | entry2 | 2009-04-27 | post | content for entry2. |
+ | title | date | layout | content |
+ | entry1 | 2009-03-27 | post | content for entry1. |
+ | entry2 | 2009-04-27 | post | content for entry2. |
And I have a category/_posts directory
And I have the following posts in "category":
- | title | date | layout | content |
- | entry3 | 2009-05-27 | post | content for entry3. |
- | entry4 | 2009-06-27 | post | content for entry4. |
+ | title | date | layout | content |
+ | entry3 | 2009-05-27 | post | content for entry3. |
+ | entry4 | 2009-06-27 | post | content for entry4. |
When I run jekyll
Then the _site directory should exist
And I should see "Page : Site contains 2 pages and 4 posts" in "_site/index.html"
@@ -116,9 +116,9 @@ Feature: Create sites
And I have a configuration file with "permalink" set to "pretty"
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2007-12-31 | post | content for entry1. |
- | entry2 | 2020-01-31 | post | content for entry2. |
+ | title | date | layout | content |
+ | entry1 | 2007-12-31 | post | content for entry1. |
+ | entry2 | 2020-01-31 | post | content for entry2. |
When I run jekyll
Then the _site directory should exist
And I should see "URL: /2020/01/31/entry2/" in "_site/index.html"
View
6 features/drafts.feature
@@ -7,7 +7,7 @@ Feature: Draft Posts
Given I have a configuration file with "permalink" set to "none"
And I have a _drafts directory
And I have the following draft:
- | title | date | layout | content |
+ | title | date | layout | content |
| Recipe | 2009-03-27 | default | Not baked yet. |
When I run jekyll with drafts
Then the _site directory should exist
@@ -18,7 +18,7 @@ Feature: Draft Posts
And I have an "index.html" page that contains "Totally index"
And I have a _drafts directory
And I have the following draft:
- | title | date | layout | content |
+ | title | date | layout | content |
| Recipe | 2009-03-27 | default | Not baked yet. |
When I run jekyll
Then the _site directory should exist
@@ -28,7 +28,7 @@ Feature: Draft Posts
Given I have a configuration file with "permalink" set to "none"
And I have a _drafts directory
And I have the following draft:
- | title | date | layout | content |
+ | title | date | layout | content |
| Recipe | 2009-03-27 | simple | Post path: {{ page.path }} |
When I run jekyll with drafts
Then the _site directory should exist
View
12 features/embed_filters.feature
@@ -7,7 +7,7 @@ Feature: Embed filters
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | default | These aren't the droids you're looking for. |
And I have a default layout that contains "{{ site.time | date_to_xmlschema }}"
When I run jekyll
@@ -18,8 +18,10 @@ Feature: Embed filters
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star & Wars | 2009-03-27 | default | These aren't the droids you're looking for. |
+
+
And I have a default layout that contains "{{ page.title | xml_escape }}"
When I run jekyll
Then the _site directory should exist
@@ -29,7 +31,7 @@ Feature: Embed filters
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | default | These aren't the droids you're looking for. |
And I have a default layout that contains "{{ content | xml_escape }}"
When I run jekyll
@@ -40,7 +42,7 @@ Feature: Embed filters
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | tags | content |
+ | title | date | layout | tags | content |
| Star Wars | 2009-03-27 | default | [scifi, movies, force] | These aren't the droids you're looking for. |
And I have a default layout that contains "{{ page.tags | array_to_sentence_string }}"
When I run jekyll
@@ -51,7 +53,7 @@ Feature: Embed filters
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | default | These aren't the droids you're looking for. |
And I have a default layout that contains "By {{ '_Obi-wan_' | textilize }}"
When I run jekyll
View
14 features/include_tag.feature
@@ -10,14 +10,14 @@ Feature: Include tags
And I have an "_includes/ignore.html" file that contains "<footer>My blog footer</footer>"
And I have a _posts directory
And I have the following post:
- | title | date | layout | content |
- | Include Files | 2013-03-21 | default | {% include header.html param="myparam" %} |
- | Ignore params if unused | 2013-03-21 | default | {% include ignore.html date="today" %} |
- | List multiple parameters | 2013-03-21 | default | {% include params.html date="today" start="tomorrow" %} |
- | Dont keep parameters | 2013-03-21 | default | {% include ignore.html param="test" %}\n{% include header.html %} |
+ | title | date | layout | content |
+ | Include Files | 2013-03-21 | default | {% include header.html param="myparam" %} |
+ | Ignore params if unused | 2013-03-21 | default | {% include ignore.html date="today" %} |
+ | List multiple parameters | 2013-03-21 | default | {% include params.html date="today" start="tomorrow" %} |
+ | Dont keep parameters | 2013-03-21 | default | {% include ignore.html param="test" %}\n{% include header.html %} |
| Allow params with spaces and quotes | 2013-04-07 | default | {% include params.html cool="param with spaces" super="\"quoted\"" single='has "quotes"' escaped='\'single\' quotes' %} |
- | Parameter syntax | 2013-04-12 | default | {% include params.html param1_or_2="value" %} |
- | Pass a variable | 2013-06-22 | default | {% assign var = 'some text' %}{% include params.html local=var layout=page.layout %} |
+ | Parameter syntax | 2013-04-12 | default | {% include params.html param1_or_2="value" %} |
+ | Pass a variable | 2013-06-22 | default | {% assign var = 'some text' %}{% include params.html local=var layout=page.layout %} |
When I run jekyll
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"
View
8 features/markdown.feature
@@ -8,7 +8,7 @@ Feature: Markdown
And I have an "index.html" page that contains "Index - {% for post in site.posts %} {{ post.content }} {% endfor %}"
And I have a _posts directory
And I have the following post:
- | title | date | content | type |
+ | title | date | content | type |
| Hackers | 2009-03-27 | # My Title | markdown |
When I run jekyll
Then the _site directory should exist
@@ -21,13 +21,13 @@ Feature: Markdown
And I have an "index.html" page that contains "Index - {% for post in paginator.posts %} {{ post.content }} {% endfor %}"
And I have a _posts directory
And I have the following post:
- | title | date | content | type |
+ | title | date | content | type |
| Hackers | 2009-03-27 | # My Title | markdown |
When I run jekyll
Then the _site directory should exist
And I should see "Index" in "_site/index.html"
And I should see "<h1 id=\"my-title\">My Title</h1>" in "_site/index.html"
-
+
Scenario: Maruku fenced codeblocks
Given I have a configuration file with "markdown" set to "maruku"
And I have an "index.markdown" file with content:
@@ -46,7 +46,7 @@ Feature: Markdown
Then the _site directory should exist
And I should see "My awesome code" in "_site/index.html"
And I should see "<pre><code>\nMy awesome code\n</code></pre>" in "_site/index.html"
-
+
Scenario: Maruku fenced codeblocks
Given I have a configuration file with "markdown" set to "maruku"
And I have an "index.markdown" file with content:
View
4 features/pagination.feature
@@ -9,7 +9,7 @@ Feature: Site pagination
And I have an "index.html" page that contains "{{ paginator.posts.size }}"
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
+ | title | date | layout | content |
| Wargames | 2009-03-27 | default | The only winning move is not to play. |
| Wargames2 | 2009-04-27 | default | The only winning move is not to play2. |
| Wargames3 | 2009-05-27 | default | The only winning move is not to play3. |
@@ -36,7 +36,7 @@ Feature: Site pagination
And I have an "blog/index.html" page that contains "{{ paginator.posts.size }}"
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
+ | title | date | layout | content |
| Wargames | 2009-03-27 | default | The only winning move is not to play. |
| Wargames2 | 2009-04-27 | default | The only winning move is not to play2. |
| Wargames3 | 2009-05-27 | default | The only winning move is not to play3. |
View
14 features/permalinks.feature
@@ -6,7 +6,7 @@ Feature: Fancy permalinks
Scenario: Use none permalink schema
Given I have a _posts directory
And I have the following post:
- | title | date | content |
+ | title | date | content |
| None Permalink Schema | 2009-03-27 | Totally nothing. |
And I have a configuration file with "permalink" set to "none"
When I run jekyll
@@ -16,7 +16,7 @@ Feature: Fancy permalinks
Scenario: Use pretty permalink schema
Given I have a _posts directory
And I have the following post:
- | title | date | content |
+ | title | date | content |
| Pretty Permalink Schema | 2009-03-27 | Totally wordpress. |
And I have a configuration file with "permalink" set to "pretty"
When I run jekyll
@@ -37,7 +37,7 @@ Feature: Fancy permalinks
Scenario: Use custom permalink schema with prefix
Given I have a _posts directory
And I have the following post:
- | title | category | date | content |
+ | title | category | date | content |
| Custom Permalink Schema | stuff | 2009-03-27 | Totally custom. |
And I have a configuration file with "permalink" set to "/blog/:year/:month/:day/:title"
When I run jekyll
@@ -47,7 +47,7 @@ Feature: Fancy permalinks
Scenario: Use custom permalink schema with category
Given I have a _posts directory
And I have the following post:
- | title | category | date | content |
+ | title | category | date | content |
| Custom Permalink Schema | stuff | 2009-03-27 | Totally custom. |
And I have a configuration file with "permalink" set to "/:categories/:title.html"
When I run jekyll
@@ -57,7 +57,7 @@ Feature: Fancy permalinks
Scenario: Use custom permalink schema with squished date
Given I have a _posts directory
And I have the following post:
- | title | category | date | content |
+ | title | category | date | content |
| Custom Permalink Schema | stuff | 2009-03-27 | Totally custom. |
And I have a configuration file with "permalink" set to "/:month-:day-:year/:title.html"
When I run jekyll
@@ -67,7 +67,7 @@ Feature: Fancy permalinks
Scenario: Use per-post permalink
Given I have a _posts directory
And I have the following post:
- | title | date | permalink | content |
+ | title | date | permalink | content |
| Some post | 2013-04-14 | /custom/posts/1 | bla bla |
When I run jekyll
Then the _site directory should exist
@@ -77,7 +77,7 @@ Feature: Fancy permalinks
Scenario: Use per-post ending in .html
Given I have a _posts directory
And I have the following post:
- | title | date | permalink | content |
+ | title | date | permalink | content |
| Some post | 2013-04-14 | /custom/posts/some.html | bla bla |
When I run jekyll
Then the _site directory should exist
View
42 features/post_data.feature
@@ -7,7 +7,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post title: {{ page.title }}"
When I run jekyll
@@ -18,7 +18,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post url: {{ page.url }}"
When I run jekyll
@@ -29,7 +29,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post date: {{ page.date | date_to_string }}"
When I run jekyll
@@ -40,7 +40,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post id: {{ page.id }}"
When I run jekyll
@@ -51,7 +51,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post content: {{ content }}"
When I run jekyll
@@ -63,7 +63,7 @@ Feature: Post data
And I have a movies/_posts directory
And I have a _layouts directory
And I have the following post in "movies":
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post category: {{ page.categories }}"
When I run jekyll
@@ -74,7 +74,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | tag | content |
+ | title | date | layout | tag | content |
| Star Wars | 2009-05-18 | simple | twist | Luke, I am your father. |
And I have a simple layout that contains "Post tags: {{ page.tags }}"
When I run jekyll
@@ -87,7 +87,7 @@ Feature: Post data
And I have a scifi/movies/_posts directory
And I have a _layouts directory
And I have the following post in "scifi/movies":
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post categories: {{ page.categories | array_to_sentence_string }}"
When I run jekyll
@@ -100,7 +100,7 @@ Feature: Post data
And I have a scifi/Movies/_posts directory
And I have a _layouts directory
And I have the following post in "scifi/Movies":
- | title | date | layout | content |
+ | title | date | layout | content |
| Star Wars | 2009-03-27 | simple | Luke, I am your father. |
And I have a simple layout that contains "Post categories: {{ page.categories | array_to_sentence_string }}"
When I run jekyll
@@ -111,7 +111,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | category | content |
+ | title | date | layout | category | content |
| Star Wars | 2009-03-27 | simple | movies | Luke, I am your father. |
And I have a simple layout that contains "Post category: {{ page.categories }}"
When I run jekyll
@@ -122,7 +122,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | category | content |
+ | title | date | layout | category | content |
| Star Wars | 2009-03-27 | simple | Movies | Luke, I am your father. |
And I have a simple layout that contains "Post category: {{ page.categories }}"
When I run jekyll
@@ -133,7 +133,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | category | content |
+ | title | date | layout | category | content |
| Star Wars | 2009-03-27 | simple | movies | Luke, I am your father. |
And I have a simple layout that contains "Post category: {{ page.categories }}"
When I run jekyll
@@ -144,7 +144,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following posts:
- | title | date | layout | categories | content |
+ | title | date | layout | categories | content |
| Star Wars | 2009-03-27 | simple | ['scifi', 'Movies'] | Luke, I am your father. |
| Star Trek | 2013-03-17 | simple | ['SciFi', 'movies'] | Jean Luc, I am your father. |
And I have a simple layout that contains "Post categories: {{ page.categories | array_to_sentence_string }}"
@@ -156,22 +156,22 @@ Feature: Post data
Scenario Outline: Use page.path variable
Given I have a <dir>/_posts directory
And I have the following post in "<dir>":
- | title | type | date | content |
+ | title | type | date | content |
| my-post | html | 2013-04-12 | Source path: {{ page.path }} |
When I run jekyll
Then the _site directory should exist
And I should see "Source path: <path_prefix>_posts/2013-04-12-my-post.html" in "_site/<dir>/2013/04/12/my-post.html"
Examples:
- | dir | path_prefix |
- | . | |
- | dir | dir/ |
+ | dir | path_prefix |
+ | . | |
+ | dir | dir/ |
| dir/nested | dir/nested/ |
Scenario: Override page.path variable
Given I have a _posts directory
And I have the following post:
- | title | date | path | content |
+ | title | date | path | content |
| override | 2013-04-12 | override-path.html | Custom path: {{ page.path }} |
When I run jekyll
Then the _site directory should exist
@@ -181,7 +181,7 @@ Feature: Post data
Given I have a _posts directory
And I have an "index.html" file that contains "Published!"
And I have the following post:
- | title | date | layout | published | content |
+ | title | date | layout | published | content |
| Star Wars | 2009-03-27 | simple | false | Luke, I am your father. |
When I run jekyll
Then the _site directory should exist
@@ -192,7 +192,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following post:
- | title | date | layout | author | content |
+ | title | date | layout | author | content |
| Star Wars | 2009-03-27 | simple | Darth Vader | Luke, I am your father. |
And I have a simple layout that contains "Post author: {{ page.author }}"
When I run jekyll
@@ -203,7 +203,7 @@ Feature: Post data
Given I have a _posts directory
And I have a _layouts directory
And I have the following posts:
- | title | date | layout | author | content |
+ | title | date | layout | author | content |
| Star Wars | 2009-03-27 | ordered | Darth Vader | Luke, I am your father. |
| Some like it hot | 2009-04-27 | ordered | Osgood | Nobody is perfect. |
| Terminator | 2009-05-27 | ordered | Arnold | Sayonara, baby |
View
12 features/post_excerpts.feature
@@ -9,8 +9,8 @@ Feature: Post excerpts
Given I have an "index.html" page that contains "{% for post in site.posts %}{{ post.excerpt }}{% endfor %}"
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2007-12-31 | post | content for entry1. |
+ | title | date | layout | content |
+ | entry1 | 2007-12-31 | post | content for entry1. |
When I run jekyll
Then the _site directory should exist
And I should see exactly "<p>content for entry1.</p>" in "_site/index.html"
@@ -21,8 +21,8 @@ Feature: Post excerpts
And I have a _layouts directory
And I have a post layout that contains "{{ page.excerpt }}"
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2007-12-31 | post | content for entry1. |
+ | title | date | layout | content |
+ | entry1 | 2007-12-31 | post | content for entry1. |
When I run jekyll
Then the _site directory should exist
And the _site/2007 directory should exist
@@ -38,8 +38,8 @@ Feature: Post excerpts
And I have a _layouts directory
And I have a post layout that contains "<html><head></head><body>{{ page.excerpt }}</body></html>"
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2007-12-31 | post | content for entry1. |
+ | title | date | layout | content |
+ | entry1 | 2007-12-31 | post | content for entry1. |
When I run jekyll
Then the _site directory should exist
And the _site/2007 directory should exist
View
34 features/site_configuration.feature
@@ -116,9 +116,9 @@ Feature: Site configuration
| future | false |
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2007-12-31 | post | content for entry1. |
- | entry2 | 2020-01-31 | post | content for entry2. |
+ | title | date | layout | content |
+ | entry1 | 2007-12-31 | post | content for entry1. |
+ | entry2 | 2020-01-31 | post | content for entry2. |
When I run jekyll
Then the _site directory should exist
And I should see "Page Layout: 1 on 2010-01-01" in "_site/index.html"
@@ -136,9 +136,9 @@ Feature: Site configuration
| future | true |
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2007-12-31 | post | content for entry1. |
- | entry2 | 2020-01-31 | post | content for entry2. |
+ | title | date | layout | content |
+ | entry1 | 2007-12-31 | post | content for entry1. |
+ | entry2 | 2020-01-31 | post | content for entry2. |
When I run jekyll
Then the _site directory should exist
And I should see "Page Layout: 2 on 2010-01-01" in "_site/index.html"
@@ -191,10 +191,10 @@ Feature: Site configuration
| key | value |
| limit_posts | 2 |
And I have the following posts:
- | title | date | content |
- | Apples | 2009-03-27 | An article about apples |
- | Oranges | 2009-04-01 | An article about oranges |
- | Bananas | 2009-04-05 | An article about bananas |
+ | title | date | content |
+ | Apples | 2009-03-27 | An article about apples |
+ | Oranges | 2009-04-01 | An article about oranges |
+ | Bananas | 2009-04-05 | An article about bananas |
When I run jekyll
Then the _site directory should exist
And the "_site/2009/04/05/bananas.html" file should exist
@@ -225,9 +225,9 @@ Feature: Site configuration
| layouts | _theme |
And I have a _posts directory
And I have the following posts:
- | title | date | layout | content |
- | entry1 | 2007-12-31 | post | content for entry1. |
- | entry2 | 2020-01-31 | post | content for entry2. |
+ | title | date | layout | content |
+ | entry1 | 2007-12-31 | post | content for entry1. |
+ | entry2 | 2020-01-31 | post | content for entry2. |
When I run jekyll
Then the _site directory should exist
And I should see "Page Layout: 2 on 2010-01-01" in "_site/index.html"
@@ -245,9 +245,9 @@ Feature: Site configuration
Scenario: Add an empty whitelist to restrict all gems
Given I have an "index.html" file that contains "Whatever"
And I have a configuration file with:
- | key | value |
+ | key | value |
| gems | [jekyll_test_plugin] |
- | whitelist | [] |
+ | whitelist | [] |
When I run jekyll in safe mode
Then the _site directory should exist
And I should see "Whatever" in "_site/index.html"
@@ -256,9 +256,9 @@ Feature: Site configuration
Scenario: Add a whitelist to restrict some gems but allow others
Given I have an "index.html" file that contains "Whatever"
And I have a configuration file with:
- | key | value |
+ | key | value |
| gems | [jekyll_test_plugin, jekyll_test_plugin_malicious] |
- | whitelist | [jekyll_test_plugin] |
+ | whitelist | [jekyll_test_plugin] |
When I run jekyll in safe mode
Then the _site directory should exist
And I should see "Whatever" in "_site/index.html"
View
30 features/site_data.feature
@@ -17,9 +17,9 @@ Feature: Site data
And I should see "Source path: <path>" in "_site/<path>"
Examples:
- | dir | path |
- | . | index.html |
- | dir | dir/about.html |
+ | dir | path |
+ | . | index.html |
+ | dir | dir/about.html |
| dir/nested | dir/nested/page.html |
Scenario: Override page.path
@@ -38,10 +38,10 @@ Feature: Site data
Given I have a _posts directory
And I have an "index.html" page that contains "{{ site.posts.first.title }}: {{ site.posts.first.url }}"
And I have the following posts:
- | title | date | content |
- | First Post | 2009-03-25 | My First Post |
- | Second Post | 2009-03-26 | My Second Post |
- | Third Post | 2009-03-27 | My Third Post |
+ | title | date | content |
+ | First Post | 2009-03-25 | My First Post |
+ | Second Post | 2009-03-26 | My Second Post |
+ | Third Post | 2009-03-27 | My Third Post |
When I run jekyll
Then the _site directory should exist
And I should see "Third Post: /2009/03/27/third-post.html" in "_site/index.html"
@@ -50,10 +50,10 @@ Feature: Site data
Given I have a _posts directory
And I have an "index.html" page that contains "{% for post in site.posts %} {{ post.title }} {% endfor %}"
And I have the following posts:
- | title | date | content |
- | First Post | 2009-03-25 | My First Post |
- | Second Post | 2009-03-26 | My Second Post |
- | Third Post | 2009-03-27 | My Third Post |
+ | title | date | content |
+ | First Post | 2009-03-25 | My First Post |
+ | Second Post | 2009-03-26 | My Second Post |
+ | Third Post | 2009-03-27 | My Third Post |
When I run jekyll
Then the _site directory should exist
And I should see "Third Post Second Post First Post" in "_site/index.html"
@@ -62,7 +62,7 @@ Feature: Site data
Given I have a _posts directory
And I have an "index.html" page that contains "{% for post in site.categories.code %} {{ post.title }} {% endfor %}"
And I have the following posts:
- | title | date | category | content |
+ | title | date | category | content |
| Awesome Hack | 2009-03-26 | code | puts 'Hello World' |
| Delicious Beer | 2009-03-26 | food | 1) Yuengling |
When I run jekyll
@@ -73,8 +73,8 @@ Feature: Site data
Given I have a _posts directory
And I have an "index.html" page that contains "{% for post in site.tags.beer %} {{ post.content }} {% endfor %}"
And I have the following posts:
- | title | date | tag | content |
- | Delicious Beer | 2009-03-26 | beer | 1) Yuengling |
+ | title | date | tag | content |
+ | Delicious Beer | 2009-03-26 | beer | 1) Yuengling |
When I run jekyll
Then the _site directory should exist
And I should see "Yuengling" in "_site/index.html"
@@ -83,7 +83,7 @@ Feature: Site data
Given I have a _posts directory
And I have an "index.html" page that contains "{% for post in site.posts %}{{ post.title }}:{{ post.previous.title}},{{ post.next.title}} {% endfor %}"
And I have the following posts:
- | title | date | content |
+ | title | date | content |
| first | 2009-02-26 | first |
| A | 2009-03-26 | A |
| B | 2009-03-26 | B |
Something went wrong with that request. Please try again.