From b019a653af8a241dab1d6ac24822b686f4c4b94a Mon Sep 17 00:00:00 2001 From: Pat Hawks Date: Thu, 6 Oct 2016 15:47:49 -0500 Subject: [PATCH] Fix broken test --- spec/spec_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5d514aa..db30693 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -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)