Sha256: 9a86845210f5f386e67ce05dd1ecb239c603291be7b9464c6755ea00dc5ea914

Contents?: true

Size: 641 Bytes

Versions: 18

Compression:

Stored size: 641 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 'test/unit'

class Test::Unit::TestCase
  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

18 entries across 18 versions & 1 rubygems

Version Path
govspeak-3.5.1 test/test_helper.rb
govspeak-3.5.0 test/test_helper.rb
govspeak-3.4.0 test/test_helper.rb
govspeak-3.3.0 test/test_helper.rb
govspeak-3.2.0 test/test_helper.rb
govspeak-3.1.1 test/test_helper.rb
govspeak-3.1.0 test/test_helper.rb
govspeak-3.0.0 test/test_helper.rb
govspeak-2.0.2 test/test_helper.rb
govspeak-2.0.0 test/test_helper.rb
govspeak-1.6.2 test/test_helper.rb
govspeak-1.6.1 test/test_helper.rb
govspeak-1.6.0 test/test_helper.rb
govspeak-1.5.4 test/test_helper.rb
govspeak-1.5.3 test/test_helper.rb
govspeak-1.5.2 test/test_helper.rb
govspeak-1.5.1 test/test_helper.rb
govspeak-1.5.0 test/test_helper.rb