Add test for Use per-post permalinks ending in .htm

This commit is contained in:
Pat Hawks 2014-09-14 11:36:26 -07:00
parent 19b2d2eeb6
commit 5445a1bead
1 changed files with 10 additions and 0 deletions

View File

@ -83,3 +83,13 @@ Feature: Fancy permalinks
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.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"