Sha256: 2025310c3e1f6cab7663d4851a7e4cc7dd8b5117063853c8312d5902fea26568
Contents?: true
Size: 560 Bytes
Versions: 5
Compression:
Stored size: 560 Bytes
Contents
require 'minitest/autorun' require 'minitest/unit' require 'shoulda' require 'mocha/mini_test' require 'jekyll' require 'jekyll-git_metadata' class Minitest::Test def jekyll_test_repo_path File.join(File.dirname(__FILE__), 'test_repo') end def dot_git_path File.join(jekyll_test_repo_path, 'dot_git') end def real_dot_git_path File.join(jekyll_test_repo_path, '.git') end def create_temp_git_dir FileUtils.cp_r(dot_git_path, real_dot_git_path) end def remove_temp_git_dir FileUtils.rm_rf(real_dot_git_path) end end
Version data entries
5 entries across 5 versions & 1 rubygems