mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-01 10:15:03 -05:00
change features and tests to make sure categories in urls follow the order specified by directory layout or in yaml
This commit is contained in:
@@ -105,7 +105,7 @@ class TestPost < Test::Unit::TestCase
|
||||
|
||||
should "process the url correctly" do
|
||||
assert_equal "/:categories/:year/:month/:day/:title.html", @post.template
|
||||
assert_equal "/beer/food/2008/10/19/foo-bar.html", @post.url
|
||||
assert_equal "/food/beer/2008/10/19/foo-bar.html", @post.url
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user