Sha256: 84e1d54a4bde94943c81ffcf64d057c010234f5eba1296319ea6845573fbd35c

Contents?: true

Size: 306 Bytes

Versions: 28

Compression:

Stored size: 306 Bytes

Contents

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

require 'minitest/autorun'
require 'stringio'

class TestCase < MiniTest::Unit::TestCase
  def self.test(name, &block)
    define_method("test_#{name.gsub(/\W/, '_')}", &block) if block
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
cft_smartcloud-0.3.3 lib/slop-2.3.1/test/helper.rb
slop-3.3.2 test/helper.rb
slop-3.3.1 test/helper.rb
slop-3.3.0 test/helper.rb
slop-3.2.0 test/helper.rb
slop-3.1.1 test/helper.rb
slop-3.1.0 test/helper.rb
cft_smartcloud-0.3.2 lib/slop-2.3.1/test/helper.rb
cft_smartcloud-0.3.1 lib/slop-2.3.1/test/helper.rb
slop-2.4.4 test/helper.rb
slop-3.0.4 test/helper.rb
slop-3.0.3 test/helper.rb
slop-3.0.2 test/helper.rb
slop-3.0.1 test/helper.rb
slop-3.0.0 test/helper.rb
slop-3.0.0.rc1 test/helper.rb
slop-2.4.3 test/helper.rb
slop-2.4.2 test/helper.rb
slop-2.4.1 test/helper.rb
slop-2.4.0 test/helper.rb