Sha256: 6e1f080e345c982f3da9b93f1d9155c7431b1164e90dd7b5c0484d87ff6b513d

Contents?: true

Size: 658 Bytes

Versions: 11

Compression:

Stored size: 658 Bytes

Contents

require 'rubygems'
gem 'RedCloth', '>= 4.2.1'

require 'jekyll'

require 'RedCloth'
require 'rdiscount'
require 'kramdown'
require 'redcarpet'

require 'redgreen' if RUBY_VERSION < '1.9'
require 'shoulda'
require 'rr'

include Jekyll

# Send STDERR into the void to suppress program output messages
STDERR.reopen(test(?e, '/dev/null') ? '/dev/null' : 'NUL:')

class Test::Unit::TestCase
  include RR::Adapters::TestUnit

  def dest_dir(*subdirs)
    File.join(File.dirname(__FILE__), 'dest', *subdirs)
  end

  def source_dir(*subdirs)
    File.join(File.dirname(__FILE__), 'source', *subdirs)
  end

  def clear_dest
    FileUtils.rm_rf(dest_dir)
  end
end

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
jekyll-reloaded-0.12.2 test/helper.rb
jekyll-0.12.0 test/helper.rb
spinto-jekyll-0.11.2.5 test/helper.rb
jekyll-reloaded-0.12.1 test/helper.rb
jekyll-reloaded-0.12 test/helper.rb
spinto-jekyll-0.11.2.3 test/helper.rb
spinto-jekyll-0.11.2.2 test/helper.rb
spinto-jekyll-0.11.2.1 test/helper.rb
jekyll-0.11.2 test/helper.rb
vanity-1.7.1 vendor/ruby/1.9.1/gems/jekyll-0.11.0/test/helper.rb
jekyll-0.11.0 test/helper.rb