Sha256: 5d373e61b548a4cf4ed33455fc985cdf698c0f08152363f450a03f23558ede59

Contents?: true

Size: 268 Bytes

Versions: 4

Compression:

Stored size: 268 Bytes

Contents

require 'minitest'
require 'minitest/around/version'

class Minitest::Test
  alias_method :run_without_around, :run
  def run(*args)
    if defined?(around)
      around { run_without_around(*args) }
    else
      run_without_around(*args)
    end
    self
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
minitest-around-0.2.0 lib/minitest/around/unit.rb
minitest-around-0.2.0.pre3 lib/minitest/around/unit.rb
minitest-around-0.2.0.pre2 lib/minitest/around/unit.rb
minitest-around-0.2.0.pre lib/minitest/around/unit.rb