mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-25 14:58:33 -05:00
Dates are _the worst_
This commit is contained in:
@@ -73,8 +73,8 @@ class TestURL < JekyllUnitTest
|
||||
|
||||
should "check for key without trailing underscore" do
|
||||
_, matching_doc = fixture_document("_methods/configuration.md")
|
||||
assert_equal "/methods/2016-11-10_configuration", URL.new(
|
||||
:template => "/methods/:year-:month-:day_:title",
|
||||
assert_equal "/methods/configuration-configuration_methods_configuration", URL.new(
|
||||
:template => "/methods/:name-:slug_:collection_:title",
|
||||
:placeholders => matching_doc.url_placeholders
|
||||
).to_s
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user