Test that includes relative to self are included
This commit is contained in:
parent
934c37b578
commit
e7c8bbf5df
|
@ -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 %}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue