Test updates: Removed permalink config, updated template

This commit is contained in:
Brandon Mathis 2015-01-18 23:03:27 -06:00
parent 382049d558
commit 3d60299ea9
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@ class TestURL < Test::Unit::TestCase
should "handle nil values for keys in the template" do
assert_equal '/foo/bar/', URL.new(
:template => "/baz",
:permalink => "/:x/:y/:z/",
:template => "/:x/:y/:z/",
:placeholders => {:x => "foo", :y => "bar", :z => nil}
).to_s
end