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

Version Path
govspeak-5.6.0 test/test_helper.rb
govspeak-5.5.0 test/test_helper.rb
govspeak-5.4.0 test/test_helper.rb
govspeak-5.3.0 test/test_helper.rb
govspeak-5.2.2 test/test_helper.rb
govspeak-5.2.1 test/test_helper.rb
govspeak-5.2.0 test/test_helper.rb
govspeak-5.1.0 test/test_helper.rb
govspeak-5.0.3 test/test_helper.rb
govspeak-5.0.2 test/test_helper.rb
govspeak-5.0.1 test/test_helper.rb
govspeak-5.0.0 test/test_helper.rb
govspeak-4.0.0 test/test_helper.rb
govspeak-3.6.2 test/test_helper.rb
govspeak-3.6.1 test/test_helper.rb
govspeak-3.6.0 test/test_helper.rb
govspeak-3.5.2 test/test_helper.rb