diff --git a/test/test_url.rb b/test/test_url.rb index c39e51f2..4c0320a7 100644 --- a/test/test_url.rb +++ b/test/test_url.rb @@ -73,8 +73,8 @@ class TestURL < JekyllUnitTest should "check for key without trailing underscore" do _, matching_doc = fixture_document("_methods/configuration.md") - assert_equal "/lol", URL.new( - :template => "/:year-:month-:day_:title", + assert_equal "/methods/2016-11-10_configuration", URL.new( + :template => "/methods/:year-:month-:day_:title", :placeholders => matching_doc.url_placeholders ).to_s end