Sha256: a7cfe1108a5bb771d867d27fbfe296f9165edd0e27e7fe19d443d44f8a01dbe9

Contents?: true

Size: 249 Bytes

Versions: 4

Compression:

Stored size: 249 Bytes

Contents

require 'test/unit'

class HackedRunMethodTestCase < Test::Unit::TestCase

  alias_method :run_without_hack, :run
  def run(*args, &block)
    UDPSocket.open.bind('', 9999)
    run_without_hack(*args, &block)
  end

  def test_succeeded
  end

end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
xli-dtr-1.0.0 testdata/hacked_run_method_test_case.rb
xli-dtr-1.1.0 testdata/hacked_run_method_test_case.rb
dtr-1.0.0 testdata/hacked_run_method_test_case.rb
dtr-1.1.0 testdata/hacked_run_method_test_case.rb