cuke feature for subdir include
This commit is contained in:
parent
dd5fb69c2f
commit
d88354e2df
|
@ -1,6 +1,7 @@
|
|||
== Edge
|
||||
* Bug Fixes
|
||||
* Render highlighted code for non markdown/textile pages (#116)
|
||||
* Expand source to full path so includes work anywhere (#101)
|
||||
|
||||
== 0.5.7 / 2010-01-12
|
||||
* Minor Enhancements
|
||||
|
|
|
@ -74,3 +74,12 @@ Feature: Create sites
|
|||
When I run jekyll
|
||||
Then the _site directory should exist
|
||||
And I should see "Basic Site with include tag: Generated by Jekyll" in "_site/index.html"
|
||||
|
||||
Scenario: Basic site with subdir include tag
|
||||
Given I have a _includes directory
|
||||
And I have an "_includes/about.textile" file that contains "Generated by Jekyll"
|
||||
And I have an info directory
|
||||
And I have an "info/index.html" page that contains "Basic Site with subdir include tag: {% include about.textile %}"
|
||||
When I run jekyll
|
||||
Then the _site directory should exist
|
||||
And I should see "Basic Site with subdir include tag: Generated by Jekyll" in "_site/info/index.html"
|
|
@ -39,7 +39,7 @@ Given /^I have a (.*) layout that contains "(.*)"$/ do |layout, text|
|
|||
end
|
||||
end
|
||||
|
||||
Given /^I have a (.*) directory$/ do |dir|
|
||||
Given /^I have an? (.*) directory$/ do |dir|
|
||||
FileUtils.mkdir_p(dir)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue