added a plus to permalink
This commit is contained in:
parent
5c47014c90
commit
7e79b9df92
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: default
|
||||
title : Page inside +
|
||||
permalink: plus+in+url
|
||||
---
|
||||
Line 1
|
||||
{{ page.title }}
|
||||
|
|
|
@ -127,13 +127,13 @@ class TestPage < Test::Unit::TestCase
|
|||
assert File.exists?(File.join(dest_dir, 'contacts.html'))
|
||||
end
|
||||
|
||||
should "write even when the folder name is plus" do
|
||||
should "write even when the folder name is plus and permalink has +" do
|
||||
page = setup_page('+', 'foo.md')
|
||||
do_render(page)
|
||||
page.write(dest_dir)
|
||||
|
||||
assert File.directory?(dest_dir)
|
||||
assert File.exists?(File.join(dest_dir, '+', 'foo.html'))
|
||||
assert File.exists?(File.join(dest_dir, '+', 'plus+in+url'))
|
||||
end
|
||||
|
||||
should "write properly without html extension" do
|
||||
|
|
Loading…
Reference in New Issue