diff --git a/features/support/env.rb b/features/support/env.rb index 3166ce9c..912b735c 100644 --- a/features/support/env.rb +++ b/features/support/env.rb @@ -7,10 +7,11 @@ World do end TEST_DIR = File.join('/', 'tmp', 'jekyll') -JEKYLL_PATH = File.join(ENV['PWD'], 'bin', 'jekyll') +JEKYLL_PATH = File.join(ENV['PWD'], 'bin', 'jekyll2') def run_jekyll(opts = {}) command = JEKYLL_PATH + command << " build" command << " >> /dev/null 2>&1" if opts[:debug].nil? system command end