mirror of
https://github.com/jekyll/jekyll.git
synced 2026-04-28 03:01:03 -04:00
Added trailing slash to pretty url template
Signed-off-by: Nick Quaranto <nick@quaran.to>
This commit is contained in:
committed by
Nick Quaranto
parent
52fbd940c3
commit
e0ceee2e89
@@ -128,8 +128,8 @@ class TestPost < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
should "process the url correctly" do
|
||||
assert_equal "/:categories/:year/:month/:day/:title", @post.template
|
||||
assert_equal "/2008/10/19/foo-bar", @post.url
|
||||
assert_equal "/:categories/:year/:month/:day/:title/", @post.template
|
||||
assert_equal "/2008/10/19/foo-bar/", @post.url
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user