Fix broken test

This commit is contained in:
Pat Hawks 2016-10-06 15:47:49 -05:00
parent 2631e3ea77
commit b019a653af
No known key found for this signature in database
GPG Key ID: F1746FF5F18B3D1B
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def make_page(options = {})
end
def make_post(options = {})
filename = File.expand_path("2015-01-01-post.md", CONFIG_DEFAULTS["source"])
filename = File.expand_path("_posts/2015-01-01-post.md", CONFIG_DEFAULTS["source"])
config = { :site => site, :collection => site.collections["posts"] }
page = Jekyll::Document.new filename, config
page.merge_data!(options)