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:
Thomas Jack
2009-06-08 19:26:03 -05:00
parent 486ae25fc1
commit 535d78de7d
2 changed files with 8 additions and 8 deletions

View File

@@ -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