Add test for Use per-post permalinks ending in .htm
This commit is contained in:
parent
19b2d2eeb6
commit
5445a1bead
|
@ -83,3 +83,13 @@ Feature: Fancy permalinks
|
||||||
Then the _site directory should exist
|
Then the _site directory should exist
|
||||||
And the _site/custom/posts directory should exist
|
And the _site/custom/posts directory should exist
|
||||||
And I should see "bla bla" in "_site/custom/posts/some.html"
|
And I should see "bla bla" in "_site/custom/posts/some.html"
|
||||||
|
|
||||||
|
Scenario: Use per-post ending in .htm
|
||||||
|
Given I have a _posts directory
|
||||||
|
And I have the following post:
|
||||||
|
| title | date | permalink | content |
|
||||||
|
| Some post | 2013-04-14 | /custom/posts/some.htm | bla bla |
|
||||||
|
When I run jekyll build
|
||||||
|
Then the _site directory should exist
|
||||||
|
And the _site/custom/posts directory should exist
|
||||||
|
And I should see "bla bla" in "_site/custom/posts/some.htm"
|
||||||
|
|
Loading…
Reference in New Issue