Use source_dir instead of my own computer's path

This commit is contained in:
Parker Moore 2016-04-21 11:26:33 -07:00
parent 33255e3ac3
commit 655ffd45be
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ title: Include symlink
CONTENT
create_post(content, {'permalink' => 'pretty', 'source' => source_dir, 'destination' => dest_dir, 'read_posts' => true, 'safe' => true })
end
assert_match "Could not locate the included file 'tmp/pages-test-does-not-exist' in any of [\"/Users/parkr/jekyll/jekyll/test/source/_includes\"].", ex.message
assert_match "Could not locate the included file 'tmp/pages-test-does-not-exist' in any of [\"#{source_dir}/_includes\"].", ex.message
end
end