Skip to content
This repository
Dominik Honnef dominikh
file 20 lines (17 sloc) 0.376 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
if ENV["SIMPLECOV"]
  begin
    require 'simplecov'
    SimpleCov.start
  rescue LoadError
  end
end

unless Object.const_defined? 'Cinch'
  $:.unshift File.expand_path('../../lib', __FILE__)
  require 'cinch'
end

require 'minitest/autorun'

class TestCase < MiniTest::Unit::TestCase
  def self.test(name, &block)
    define_method("test_" + name, &block) if block
  end
end
Something went wrong with that request. Please try again.