Sha256: 7c7e6d352e8067e129c9a9bc7a272066ce51d6201485bbb97f9b00948b93f95a

Contents?: true

Size: 767 Bytes

Versions: 12

Compression:

Stored size: 767 Bytes

Contents

# encoding: UTF-8
=begin
Created on 2012-04-25

@author: Zach Bruhnke <z@zbruhnke.com>

=end

require 'rubygems'
require 'yaml'
YAML::ENGINE.yamler = 'syck'

gem 'RedCloth', '>= 4.2.1'

require 'jekyll-rails'

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

require 'shoulda'
require 'rr'

include Jekyll::Rails

# 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

12 entries across 12 versions & 1 rubygems

Version Path
bloggy-0.3 test/helper.rb
bloggy-0.2.2 test/helper.rb
bloggy-0.2.1 test/helper.rb
bloggy-0.2 test/helper.rb
bloggy-0.1.1 test/helper.rb
bloggy-0.1.0 test/helper.rb
bloggy-0.0.9 test/helper.rb
bloggy-0.0.8 test/helper.rb
bloggy-0.0.7 test/helper.rb
bloggy-0.0.5 test/helper.rb
bloggy-0.0.4 test/helper.rb
bloggy-0.0.3 test/helper.rb