Test that includes relative to self are included

This commit is contained in:
Garen Torikian 2014-09-07 11:24:44 -07:00
parent 934c37b578
commit e7c8bbf5df
2 changed files with 8 additions and 0 deletions

View File

@ -23,3 +23,7 @@ Parameters test
Partial variable test
- 8 {% include_relative include_relative/rel_in{{ page.include5 }}.html %}
Relative to self test:
- 9 {% include_relative 2014-03-03-yaml-with-dots.md %}

View File

@ -544,5 +544,9 @@ CONTENT
should "include file as partial variable" do
assert_match %r{8 relative_include}, @content
end
should "include files relative to self" do
assert_match %r{9 —\ntitle: Test Post Where YAML}, @content
end
end
end