Test updates: Removed permalink config, updated template
This commit is contained in:
parent
382049d558
commit
3d60299ea9
|
|
@ -49,8 +49,7 @@ class TestURL < Test::Unit::TestCase
|
||||||
|
|
||||||
should "handle nil values for keys in the template" do
|
should "handle nil values for keys in the template" do
|
||||||
assert_equal '/foo/bar/', URL.new(
|
assert_equal '/foo/bar/', URL.new(
|
||||||
:template => "/baz",
|
:template => "/:x/:y/:z/",
|
||||||
:permalink => "/:x/:y/:z/",
|
|
||||||
:placeholders => {:x => "foo", :y => "bar", :z => nil}
|
:placeholders => {:x => "foo", :y => "bar", :z => nil}
|
||||||
).to_s
|
).to_s
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue