Sha256: 23ffad12b76814e788fca79b2fd0331bd0d954161507b3ff8a1f8877e5af4c0a

Contents?: true

Size: 196 Bytes

Versions: 2

Compression:

Stored size: 196 Bytes

Contents

require 'minitest/unit'

class MiniTest::Unit::TestCase
  def run_test(name)
    if defined?(around)
      around { |*args| __send__(name, *args) }
    else
      __send__(name)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minitest-around-0.0.3 lib/minitest/around/unit.rb
minitest-around-0.0.2 lib/minitest/around/unit.rb