Merge pull request #3609 from nickburlett/patch/issue-3588-squashed

Create 'tmp' dir for test_tags if it doesn't exist
This commit is contained in:
Jordon Bedwell
2015-03-23 01:04:11 -05:00
2 changed files with 4 additions and 4 deletions

View File

@@ -5,10 +5,6 @@ set -e
# script/test
# script/test <test_file>
if [ ! -d tmp ]
then mkdir tmp
fi
if [ -d test/dest ]
then rm -r test/dest
fi

View File

@@ -4,6 +4,10 @@ require 'helper'
class TestTags < JekyllUnitTest
def setup
FileUtils.mkdir_p("tmp")
end
def create_post(content, override = {}, converter_class = Jekyll::Converters::Markdown)
site = fixture_site({"highlighter" => "rouge"}.merge(override))