Sha256: 7882c2b526e4a8f06b1ba2693237c085866c4d07d66cfff49e4d9510757c72fe

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

require 'rubygems'

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'webmock/test_unit'
require 'test/unit'

class Test::Unit::TestCase
  include WebMock

  def assert_fail(message, &block)
    e = assert_raise(AssertionFailedError, &block)
    assert_equal(message, e.message)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webmock-1.3.5 test/test_helper.rb
webmock-1.3.4 test/test_helper.rb
webmock-1.3.3 test/test_helper.rb
webmock-1.3.2 test/test_helper.rb
webmock-1.3.1 test/test_helper.rb
webmock-1.3.0 test/test_helper.rb
webmock-1.2.2 test/test_helper.rb
webmock-1.2.1 test/test_helper.rb