Sha256: a00a655728025b8ce5346c8cd18a7b4c9f7aba675878ab703d720bfb04f84e5c
Contents?: true
Size: 642 Bytes
Versions: 17
Compression:
Stored size: 642 Bytes
Contents
require 'simplecov' require 'simplecov-rcov' SimpleCov.start SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter $:.unshift(File.expand_path("../lib")) unless $:.include?(File.expand_path("../lib")) require 'bundler' Bundler.setup :default, :development, :test require 'minitest/autorun' class Minitest::Test class << self def test(name, &block) clean_name = name.gsub(/\s+/,'_') method = "test_#{clean_name.gsub(/\s+/,'_')}".to_sym already_defined = instance_method(method) rescue false raise "#{method} exists" if already_defined define_method(method, &block) end end end require 'govspeak'
Version data entries
17 entries across 17 versions & 1 rubygems